Information processing apparatus and method, program and recorded medium

ABSTRACT

An AV stream, as an entity of contents, is managed by ClipInformation. The reproduction of the AV stream is managed by PlayList. The attribute information of the AV stream, that is the address information RSPN_arrival_time_discontinuity of the discontinuous point in the AV stream, the information EP_map and TU_map correlating the time information in the AV stream and the address information, and the time information ClipMark of a characteristic picture in the AV stream, are recorded in the ClipInformation. This enables a preset mark to be retrieved promptly.

TECHNICAL FIELD

[0001] This invention relates to an information processing method and apparatus, and to a program. More particularly, it relates to an information processing method and apparatus, a recording medium and a program, in which the information, such as the address information, encoding parameters, transition point information and marks of an I-picture in an AV stream, is recorded as a file.

BACKGROUND ART

[0002] Recently, a variety of types of optical discs have been proposed as a recording medium that can be removed from a recording apparatus. These recordable optical discs have been proposed as a large capacity medium of several GBs and are thought to be promising as a medium for recording AV (audio visual) signals, such as video signals. Among the digital AV signal sources (supply sources), to be recorded on this recordable optical disc, there are CS digital satellite broadcast and BS digital broadcast. Additionally, the ground wave television broadcast of the digital system has also been proposed for future use.

[0003] The digital video signals, supplied from these sources, are routinely image-compressed under the MPEG (Moving Picture Experts Group) 2 system. In a recording apparatus, a recording rate proper to the apparatus is set. If digital video signals of the digital broadcast are recorded in the conventional image storage mediums for domestic use, digital video signals are first decoded and subsequently bandwidth-limited for recording. In the case of the digital recording system, including, of course, the MPEG1 Video, MPEG2 video and DV system, digital video signals are first decoded and subsequently re-encoded in accordance with an encoding system for the recording rate proper to the apparatus for subsequent recording.

[0004] However, this recording system, in which the supplied bitstream is decoded once and subsequently bandwidth-limited and re-encoded prior to recording, suffers from deteriorated picture quality. If, in recording image-compressed digital signals, the transmission rate of input digital signals is less than the recording rate for the recording and/or reproducing apparatus, the method of directly recording the supplied bitstream without decoding or re-encoding suffers from deterioration in the picture quality only to the least extent. However, if the transmission rate of the input digital signals exceeds the recording rate of the recording and/or reproducing apparatus, it is indeed necessary to re-encode the bitstream and to record the re-encoded bitstream, so that, after decoding in the recording and/or reproducing apparatus, the transmission rate will be not higher than the upper limit of the disc recording rate.

[0005] If the bitstream is transmitted in a variable rate system in which the bit rate of the input digital signal is increased or decreased with time, the capacity of the recording medium can be exploited less wastefully with a disc recording apparatus adapted for transiently storing data in a buffer and for recording the data in a burst fashion than with a tape recording system having a fixed recording rate imposed by the fixed rpm of the rotary head.

[0006] Thus, it may be predicted that, in the near future when the digital broadcast is to become the mainstream, an increasing demand will be raised for a recording and/or reproducing apparatus in which broadcast signals are recorded as digital signals, without decoding or re-encoding, as in a DataStreamer, and in which a disc is used as a recording medium.

[0007] If a recording medium having plural data, such as data of a program comprised of image data and audio data, recorded thereon, is to be reproduced by the above-described apparatus, there is presented a problem that, while the processing of determining a readout position of the AV stream from the recording medium or that of decoding the stream needs to be performed promptly responsive to a command from the user for random accessing or stream decoding, increasing difficulties are met in prompt execution of such processing with increase in the volume of data recorded on a recording medium.

DISCLOSURE OF THE INVENTION

[0008] It is an object of the present invention to overcome the inconvenience in the prior art and to provide such a configuration in which the information in an I-picture in an AV stream, such as the address information, encoding information, transition point information or the marks, is recorded as a file to enable the readout positions in the AV stream to be determined and decoded promptly as well as to enable a specified mark to be retrieved promptly.

[0009] An information processing apparatus according to the present invention includes means for generating the start address information of a domain in which the encoding information in the AV stream is continuous, the information correlating the time information in the AV stream and the address information, and the time information of a characteristic picture in the AV stream, and means for recording the information generated by the generating means as the Clip information on the recording medium.

[0010] The start address information of the domain in which the encoding information in the AV stream is continuous is a start address of the STC sequence or the program sequence, the information correlating the time information and the address information is EP_map or TU_map and the time information of the characteristic picture is ClipMark.

[0011] The recording means further may record the information pertinent to an average value of the recording rate of the AV stream on the recording medium.

[0012] The information pertinent to an average value may be TS_average_rate.

[0013] The AV stream may be a transport stream.

[0014] The start address information of the domain in which the encoding information in the AV stream is continuous may include a start address of an STC sequence which is a domain where system time clocks of the transport stream are continuous.

[0015] The start address information of the domain in which the encoding information in the AV stream is continuous may include a start address of a program sequence which is a domain where program contents of the transport stream are constant.

[0016] The start address information of the domain in which the encoding information in the AV stream is continuous may include a start address of a domain where the arrival time based on the arrival time of a transport packet of the transport stream is continuous.

[0017] The information correlating the time information and the address information may include an address of an I-picture of the transport stream and its presentation time stamp.

[0018] The information processing apparatus may further include compression means for compressing at least part of the information correlating the time information and the address information in the AV stream. The recording means may record the information compressed by the compression means.

[0019] The information correlating the time information and the address information in the AV stream may include an arrival time based on the arrival time of a transport packet and an address in the AV stream data of a transport packet associated therewith.

[0020] An information processing method according to the present invention includes a step of generating the start address information of a domain in which the encoding information in the AV stream is continuous, the information correlating the time information in the AV stream and the address information, and the time information of a characteristic picture in the AV stream, and a step of recording the information generated by the generating step as the Clip information on the recording medium.

[0021] A program for a recording medium according to the present invention includes a step of generating the start address information of a domain in which the encoding information in the AV stream is continuous, the information correlating the time information in the AV stream and the address information, and the time information of a characteristic picture in the AV stream, and a step of recording the information generated by the generating step as the Clip information on the recording medium.

[0022] A program according to the present invention executes a step of generating the start address information of a domain in which the encoding information in the AV stream is continuous, the information correlating the time information in the AV stream and the address information, and the time information of a characteristic picture in the AV stream, and a step of recording the information generated by the generating step as Clip information on the recording medium.

[0023] An information processing apparatus according to the present invention includes means for reproducing the start address information of a domain in which the encoding information in the AV stream is continuous, the information correlating the time information in the AV stream and the address information, and the time information of a characteristic picture in the AV stream, as the Clip information, and means for controlling the outputting of the AV stream based on the Clip information reproduced by the reproducing means.

[0024] An information processing method according to the present invention includes a step of reproducing the start address information of a domain in which the encoding information in the AV stream is continuous, the information correlating the time information in the AV stream and the address information, and the time information of a characteristic picture in the AV stream, and a step of controlling the outputting of the AV stream based on the Clip information reproduced by the reproducing means.

[0025] A program according to the present invention includes a step of reproducing the start address information of a domain in which the encoding information in the AV stream is continuous, the information correlating the time information in the AV stream and the address information, and the time information of a characteristic picture in the AV stream, and a step of controlling the outputting of the AV stream based on the Clip information reproduced by the reproducing means.

[0026] A program according to the present invention executes a step of reproducing the start address information of a domain in which the encoding information in the AV stream is continuous, the information correlating the time information in the AV stream and the address information, and the time information of a characteristic picture in the AV stream, and a step of controlling the outputting of the AV stream based on Clip information reproduced by the reproducing means.

[0027] The recording medium according to the present invention has recorded thereon the start address information for a domain where the encoding information in the AV stream is continuous, the information correlating the time information in the AV stream and the address information, and the time information of a characteristic picture in the AV stream, as the Clip information.

[0028] According to the present invention, the start address information for a domain where the encoding information in the AV stream is continuous, the information correlating the time information in the AV stream and the address information, and the time information of a characteristic picture in the AV stream, are recorded.

[0029] Moreover, according to the present invention, the start address information for a domain where the encoding information in the AV stream is continuous, the information correlating the time information in the AV stream and the address information, and the time information of a characteristic picture in the AV stream, are reproduced.

BRIEF DESCRIPTION OF THE DRAWINGS

[0030]FIG. 1 shows a configuration of an embodiment of a recording and/or reproducing apparatus according to the present invention.

[0031]FIG. 2 illustrates the data format of data recorded on a recording medium by a recording and/or reproducing apparatus 1.

[0032]FIG. 3 illustrates Real PlayList and Virtual PlayList.

[0033]FIGS. 4A, 4B and 4C illustrate the creation of the Real PlayList.

[0034]FIGS. 5A, 5B and 5C illustrate deletion of the Real PlayList.

[0035]FIGS. 6A and 6B illustrate assemble editing.

[0036]FIG. 7 illustrates provision of a sub path in the Virtual PlayList.

[0037]FIG. 8 illustrates the changing of the playback sequence of the PlayList.

[0038]FIG. 9 illustrates a mark on the PlayList and a mark on the Clip.

[0039]FIG. 10 illustrates a menu thumbnail.

[0040]FIG. 11 illustrates mark added to the PlayList.

[0041]FIG. 12 illustrates a mark added to the Clip.

[0042]FIG. 13 illustrates the relation between the PlayList, Clip and the thumbnail file.

[0043]FIG. 14 illustrates a directory structure.

[0044]FIG. 15 illustrates a syntax of infr.dvr.

[0045]FIG. 16 shows a syntax of DVRVolume.

[0046]FIG. 17 shows a syntax of ResumeVolume.

[0047]FIG. 18 shows a syntax of UIAppInfoVolume.

[0048]FIG. 19 shows a table of character set values.

[0049]FIG. 20 shows a syntax of TableOfPlayList.

[0050]FIG. 21 shows another syntax of TableOfPlayList.

[0051]FIG. 22 shows a syntax of the MakersPrivateData.

[0052]FIG. 23 shows a syntax of xxxx.rpls and yyyy.vpls.

[0053]FIGS. 24A to 24C illustrate the PlayList.

[0054]FIG. 25 shows a syntax of PlayList.

[0055]FIG. 26 shows a table of PlayList_type.

[0056]FIG. 27 shows a syntax of UIAppInfoPlayList.

[0057]FIGS. 28A to 28C illustrate flags in the UIAppInfoPlayList syntax shown in FIG. 27.

[0058]FIG. 29 illustrates a PlayItem.

[0059]FIG. 30 illustrates a PlayItem.

[0060]FIG. 31 illustrates a PlayItem.

[0061]FIG. 32 shows a syntax of the PlayItem.

[0062]FIG. 33 illustrates IN-time.

[0063]FIG. 34 illustrates OUT-time.

[0064]FIG. 35 shows a table of Connection_Condition.

[0065]FIGS. 36A to 36D illustrate Connection_Condition.

[0066]FIG. 37 illustrates BridgeSequenceInfo.

[0067]FIG. 38 shows a syntax of BridgeSequenceInfo.

[0068]FIG. 39 illustrates SubPlayItem.

[0069]FIG. 40 shows a syntax of SubPlayItem.

[0070]FIG. 41 shows a table of Mark_type.

[0071]FIG. 42 shows a syntax of PlayListMark.

[0072]FIG. 43 shows a table of Mark_type.

[0073]FIG. 44 illustrates Mark_time_stamp.

[0074]FIG. 45 shows a syntax of zzzzz.clip.

[0075]FIG. 46 shows a syntax of ClipInfo.

[0076]FIG. 47 shows a table of Clip_stream_type.

[0077]FIG. 48 illustrates offset_SPN.

[0078]FIG. 49 illustrates offset_SPN.

[0079]FIGS. 50A, 50B illustrate the STC domain.

[0080]FIG. 51 illustrates STC_Info.

[0081]FIG. 52 shows a syntax of STC_Info.

[0082]FIG. 53 illustrates ProgramInfo.

[0083]FIG. 54 shows a syntax of ProgramInfo.

[0084]FIG. 55 shows a syntax of VideoCondingInfo.

[0085]FIG. 56 shows a table of Video_format.

[0086]FIG. 57 shows a table of frame_rate.

[0087]FIG. 58 shows a table of display_aspect_ratio.

[0088]FIG. 59 shows a syntax of AudioCondingInfo.

[0089]FIG. 60 shows a table of audio_coding.

[0090]FIG. 61 shows a table of audio_component_type.

[0091]FIG. 62 shows a table of sampling_frequency.

[0092]FIG. 63 illustrates CPI.

[0093]FIG. 64 illustrates CPI.

[0094]FIG. 65 shows a syntax of CPI.

[0095]FIG. 66 shows a table of CPI_type.

[0096]FIG. 67 illustrates video EP_map.

[0097]FIG. 68 illustrates EP_map.

[0098]FIG. 69 illustrates EP_map.

[0099]FIG. 70 shows a syntax of EP_map.

[0100]FIG. 71 shows a table of EP_typevalues.

[0101]FIG. 72 shows a syntax of EP_map_for_one_stream_PID.

[0102]FIG. 73 illustrates TU_map.

[0103]FIG. 74 shows a syntax of TU_map.

[0104]FIG. 75 shows a syntax of ClipMark.

[0105]FIG. 76 shows a table of Mark_type.

[0106]FIG. 77 shows a table of Mark_type_stamp.

[0107]FIG. 78 shows another syntax of ClipMark.

[0108]FIG. 79 shows another example of a table of Mark_type.

[0109]FIG. 80 shows examples of mark_entry( ) and representative_picture_entry( ).

[0110]FIG. 81 shows a syntax of mark_entry( ) and representative_picture_entry( ).

[0111]FIG. 82 shows another example of the syntax of mark_entry( ) and representative_picture_entry( ).

[0112]FIG. 83 shows the relation between RSPN_ref_EP_start and offset_num_pictures.

[0113]FIG. 84 shows another example of the syntax of mark_entry( ) and representative_picture_entry( ).

[0114]FIG. 85 shows the relation between ClipMark and EP_map.

[0115]FIG. 86 shows a syntax of menu.thmb and mark.thmb.

[0116]FIG. 87 shows a syntax of Thumbnail.

[0117]FIG. 88 shows a table of thumbnail_picture_format.

[0118]FIGS. 89A and 89B illustrate tn_block.

[0119]FIG. 90 illustrates the structure of a transport stream of DVMPEG2.

[0120]FIG. 91 shows a recorder model of the transport stream of DVMPEG2.

[0121]FIG. 92 shows a player model of the transport stream of DVMPEG2.

[0122]FIG. 93 shows a syntax of source packet.

[0123]FIG. 94 shows a syntax of TP_extra_header.

[0124]FIG. 95 shows a table of copy permission indicator.

[0125]FIG. 96 illustrates seamless connection.

[0126]FIG. 97 illustrates seamless connection.

[0127]FIG. 98 illustrates seamless connection.

[0128]FIG. 99 illustrates seamless connection.

[0129]FIG. 100 illustrates seamless connection.

[0130]FIG. 101 illustrates audio overlap.

[0131]FIG. 102 illustrates seamless connection employing BridgeSequence.

[0132]FIG. 103 illustrates seamless connection not employing BridgeSequence.

[0133]FIG. 104 shows a DVRSTD model.

[0134]FIG. 105 shows a timing chart for decoding and display.

[0135]FIG. 106 is a flowchart for illustrating indexing reproduction of a scene indicated by a mark point in the case of the syntax of FIG. 81.

[0136]FIG. 107 illustrates the operation of reproduction in case the mark_entry( )/representative_picture_entry( ) of ClipMark in FIG. 75 or FIG. 78 is the syntax of FIG. 81.

[0137]FIG. 108 shows an example of EP_mark.

[0138]FIG. 109 shows an example of ClipMark.

[0139]FIG. 110 is a flowchart for illustrating the CM skipping reproducing processing in case the mark_entry( )/representative_picture_entry( ) of ClipMark in FIG. 75 or FIG. 78 is the syntax of FIG. 81.

[0140]FIG. 111, continuing to FIG. 110, is a flowchart for illustrating the CM skipping reproducing processing in case the mark_entry( )/representative_picture_entry( ) of ClipMark in FIG. 75 or FIG. 78 is the syntax of FIG. 81.

[0141]FIG. 112 is a flowchart for illustrating the indexing reproduction of a scene indicated by a mark point in case the mark_entry( )/representative_picture_entry( ) of ClipMark in FIG. 75 or FIG. 78 is the syntax of FIG. 82.

[0142]FIG. 113, continuing to FIG. 112, is a flowchart for illustrating reproduction in case the mark_entry( )/representative_picture_entry( ) of ClipMark in FIG. 75 or FIG. 78 is the syntax of FIG. 82.

[0143]FIG. 114 shows an example of EP_map.

[0144]FIG. 115 shows an example of ClipMark.

[0145]FIG. 116 is a flowchart for illustrating the CM skipping reproducing processing in case the mark_entry( )/representative_picture_entry( ) of ClipMark in FIG. 75 or FIG. 78 is the syntax of FIG. 82.

[0146]FIG. 117, continuing to FIG. 116, is a flowchart for illustrating the CM skipping reproducing processing in case the mark_entry( )/representative_picture_entry( ) of ClipMark in FIG. 75 or FIG. 78 is the syntax of FIG. 82.

[0147]FIG. 118 is a flowchart for illustrating the indexing reproduction of a scene indicated by a mark point in case the mark_entry( )/representative_picture_entry( ) of ClipMark in FIG. 75 or FIG. 78 is the syntax of FIG. 84.

[0148]FIG. 119, continuing to FIG. 118, is a flowchart for illustrating reproduction in case the mark_entry( )/representative_picture_entry( ) of ClipMark in FIG. 75 or FIG. 78 is the syntax of FIG. 84.

[0149]FIG. 120 shows an example of EP_map.

[0150]FIG. 121 shows an example of ClipMark.

[0151]FIG. 122 is a flowchart for illustrating the CM skipping reproducing processing in case the mark_entry( )/representative_picture_entry( ) of ClipMark in FIG. 75 or FIG. 78 is the syntax of FIG. 84.

[0152]FIG. 123, continuing to FIG. 122, is a flowchart for illustrating the CM skipping reproducing processing in case the mark_entry( )/representative_picture_entry( ) of ClipMark in FIG. 75 or FIG. 78 is the syntax of FIG. 84.

[0153]FIG. 124 shows an application format.

[0154]FIG. 125 illustrates a mark on PlayList and a mark on Clip.

[0155]FIG. 126 shows another example of the ClipMark syntax.

[0156]FIG. 127 shows still another example of the ClipMark syntax.

[0157]FIG. 128 shows another example of the ClipInfo( ) syntax.

[0158]FIG. 129 shows another example of the ProgramInfo( ).

[0159]FIG. 130 shows an example of the StreamCodingInfo( ).

[0160]FIG. 131 illustrates stream_coding_type.

[0161]FIG. 132 illustrates the relation between EP-fine and EP-coarse.

[0162]FIG. 133 illustrates the format of EP-fine and EP-coarse.

[0163]FIG. 134 illustrates the format of RSPN_EP_fine and RSPN_EP_coarse.

[0164]FIG. 135 illustrates the EP-coarse entry and the EP-fine entry.

[0165]FIG. 136 shows another example of the EP_Map syntax.

[0166]FIG. 137 illustrates EP_stream_typevalues.

[0167]FIG. 138 shows the syntax of EP_map_for_one_stream_PID of EP_map of FIG. 136.

[0168]FIG. 139 illustrates the meaning of the value of EP_video_type.

[0169]FIG. 140 is a flowchart for illustrating the processing for preparing a ClipAV stream file and a ClipInformation file.

[0170]FIG. 141 is a flowchart for illustrating a typical operation of preparing STC_Info.

[0171]FIG. 142 is a flowchart for illustrating a typical operation of preparing ProgramInfo.

[0172]FIG. 143 is a flowchart for illustrating a typical operation of preparing EP_map.

[0173]FIG. 144 is a flowchart for illustrating the method of preparing ClipMark if, in case of encoding and recording analog AV signals, the mark_entry( )/representative_picture_entry( ) of ClipMark in FIG. 75 or FIG. 78 is the syntax shown in FIG. 81.

[0174]FIG. 145 is a flowchart for illustrating the method of preparing ClipMark if, in case of recording a transport stream input from a digital interface, the mark_entry( )/representative_picture_entry( ) of ClipMark in FIG. 75 or FIG. 78 is the syntax shown in FIG. 81.

[0175]FIG. 146 illustrates special reproduction in case of using EP_map.

[0176]FIG. 147 illustrates a player model for I-picture search employing EP_map.

[0177]FIG. 148 shows an example of a minimizing operation.

[0178]FIG. 149 shows a case of erasing an unneeded stream data ahead of IN_time in case of the minimizing operation.

[0179]FIG. 150 illustrates a case of erasing an unneeded stream data at back of OUT_time in case of the minimizing operation.

[0180]FIG. 151 illustrates a medium.

BEST MODE FOR CARRYING OUT THE INVENTION

[0181] Referring to the drawings, present embodiment of the present invention will be explained in detail. FIG. 1 shows a typical inner structure of a recording and/or reproducing apparatus 1 embodying the present invention. First, the structure of a recording unit 2, configured for recording signals input from outside, is explained. The recording and/or reproducing apparatus 1 is configured for being fed with and recording analog or digital data.

[0182] Analog video signals and analog audio signals are fed to terminals 11, 12, respectively. The video signals, input to the terminal 11, are output to an analysis unit 14 and to an AV encoder 15. The audio signals, input to the terminal 12, are output to the analysis unit 14 and to the AV encoder 15. The analysis unit 14 extracts feature points, such as scene changes, from the input video and audio signals.

[0183] The AV encoder 15 encodes input video and audio signal to output the system information (S), such as an encoded video stream (V), an encoded audio stream (A) and AV synchronization, to a multiplexer 16.

[0184] The encoded video stream is a video stream encoded e.g., with the MPEG (Moving Picture Expert Group) 2 system, whilst the encoded audio stream is an audio stream encoded in accordance with the MPEG1 system, with the encoded audio stream being e.g., an audio stream encoded in e.g., the MPEG1 system or an audio stream encoded in accordance with the Dolby AC3 (trademak) system. The multiplexer 16 multiplexes the input video and audio streams, based on the input system information, to output a multiplexed stream through a switch 17 to a multiplexed stream analysis unit 18 and to a source packetizer 19.

[0185] The multiplexed stream is e.g., an MPEG-2 transport stream or an MPEG2 program stream. The source packetizer 19 encodes the input multiplexed stream into an AV stream composed of source packets in accordance with an application format of a recording medium 100 on which to record the stream. The AV stream is processed in ECC (error correction and coding) unit 20 and a modulation unit 21 with appendage of ECC codes and with modulation, before being output to a write unit 22, which then writes (records) an AV stream file based on a control signals output by the controller 23.

[0186] The transport stream, such as digital television broadcast, input from a digital interface or a digital television tuner, is input to a terminal 13. There are two recording systems for recording the transport stream input to the terminal 13, one being a transparent recording system and the other being a system in which recording is preceded by re-encoding aimed to lower e.g., the recording bit rate. The recording system command information is input from a terminal 24 as a user interface to a controller 23.

[0187] In the transparent recording of the input transport stream, a transport stream, input to a terminal 13, is output through a switch 17 to a multiplexed stream analysis unit 18 and to the source packetizer 19. The ensuing processing of recording an AV stream on a recording medium is the same as that of encoding and recording analog input audio and video signals, as described above, and hence is not explained here for simplicity.

[0188] If the input transport stream is re-encoded and subsequently recorded, the transport stream, input to the terminal 13, is fed to a demultiplexer 26, which demultiplexes the input transport stream to extract a video stream (V), an audio stream (A) and the system information (S).

[0189] Of the stream (information), as extracted by the demultiplexer 26, the video stream is output to an audio decoder 27, whilst the audio stream and the system information are output to the multiplexer 16. The audio decoder 27 decodes the input transport stream to output the encoded video stream (V) to the multiplexer 16.

[0190] The audio stream and the system information, output from the demultiplexer 26 and input to the multiplexer 16, and the video stream, output by the AV encoder 15, are multiplexed, based on the input system information, and output to the multiplexed stream analysis unit 18 and to the source packetizer 19 through switch 17, as a multiplexed stream. The ensuing processing of recording an AV stream on a recording medium is the same as that of encoding and recording analog input audio and video signals, as described above, and hence is not explained here for simplicity.

[0191] The recording and/or reproducing apparatus 1 of the present embodiment records a file of the AV stream on the recording medium 100, while also recording the application database information which accounts for the file. The input information to the controller 23 is the feature information for the moving picture from the analysis unit 14, the feature information of the AV stream from the multiplexed stream analysis unit 18 and the user command information input at a terminal 24.

[0192] The feature information of the moving picture, supplied from the analysis unit 14, is generated by the analysis unit 14 when the AV encoder 15 encodes video signals. The analysis unit 14 analyzes the contents of the input video and audio signals to generate the information pertinent to the pictures characteristic of the input moving picture signals (clip mark). This information is the information indicating a picture of characteristic clip mark points, such as program start points, scene change points, CM commercial start and end points, title or telop in input video signals, and also includes a thumbnail of the picture and the information pertinent to stereo/monaural switching points and muted portions of audio signals.

[0193] The above picture indicating information is fed through controller 23 to the multiplexer 16. When multiplexing a encoded picture specified as clip mark by the controller 23, the multiplexer 16 returns the information for specifying the encoded picture on the AV stream to the controller 23. Specifically, this information is the PTS (presentation time stamp) of a picture or the address information on the AV stream of an encoded version of the picture. The controller 23 stores the sort of feature pictures and the information for specifying the encoded picture on the AV stream in association with each other.

[0194] The feature information of the AV stream from the multiplexed stream analysis unit 18 is the information pertinent to the encoding information of the AV stream to be recorded, and is recorded by an analysis unit 18. For example, the feature information includes the time stamp and address information of the I-picture in the AV stream, discontinuous point information of system time clocks, encoding parameters of the AV stream and change point information of the encoding parameters in the AV stream. When transparently recording the transport stream, input from the terminal 13, the multiplexed stream analysis unit 18 detects the picture of the aforementioned clip mark, from the input transport stream, and generates the information for specifying a picture designated by the clip mark and its type.

[0195] The user designation information from the terminal 24 is the information specifying the playback domain, designated by the user, character letters for explaining the contents of the playback domain, or the information such as bookmarks or resuming points set by the user for his or her favorite scene.

[0196] Based on the aforementioned input information, the controller 23 creates a database of the AV stream (Clip), a database of a group (PlayList) of playback domains (PlayItem) of the AV stream, management information of the recorded contents of the recording medium 100 (info.dvr) and the information on thumbnail pictures. Similarly to the AV stream, the application database information, constructed from the above information, is processed in the ECC unit 20 and the modulation unit 21 and input to the write unit 22, which then records a database file on the recording medium 100.

[0197] The above-described application database information will be explained subsequently in detail.

[0198] When the AV stream file recorded on the recording medium 100 (files of picture data and speech data) and the application database information, thus recorded on the recording medium 100, are reproduced by a reproducing unit 3, the controller 23 first commands a readout unit 28 to read out the application database information from the recording medium 100. The readout unit 28 reads out the application database information from the recording medium 100, which then reads out the application database information from the recording medium 100 to send the application database information through demodulation and error correction processing by a demodulating unit 29 and an ECC decoder 30 to the controller 23.

[0199] Based on the application database information, the controller 23 outputs a list of PlayList recorded on the recording medium 100 to a user interface of the terminal 24. The user selects the PlayList, desired to be reproduced, from the list of PlayLists. The information pertinent to PlayList, specified to be reproduced, is input to the controller 23. The controller 23 commands the readout unit 28 to read out the AV stream file necessary in reproducing the PlayList. In accordance with the command, the readout unit 28 reads out the corresponding AV stream from the recording medium 100 to output the read-out AV stream to the demodulating unit 29. The AV stream, thus input to the demodulating unit 29, is demodulated by preset processing and output through the processing by the ECC decoder 30 to a source depacketizer 31.

[0200] The source depacketizer 31 converts the AV stream of the application format, read out from the recording medium 100 and processed in a preset fashion, into a stream processable by the demultiplexer 26. The demultiplexer 26 outputs the system information (S), such as the video stream (V), audio stream (A) or the AV synchronization, forming the playback domain (PlayItem) of the AV stream specified by the controller 23, to the audio decoder 27, which AV decoder 27 decodes the video stream and the audio stream to output the playback video signal and the playback audio signal to associated terminals 32, 33, respectively.

[0201] If fed from the terminal 24, as a user interface, with the information instructing random access playback or special playback, the controller 23 determines the readout position of the AV stream from the recording medium 100, based on the contents of the database (Clip) of the AV stream, to command the readout unit 28 to read out the AV stream. If the PlayList as selected by the user is to be reproduced as from a preset time point, the controller 23 commands the readout unit 28 to read out data from an I-picture having a time stamp closest to the specified time point.

[0202] When the user has selected a certain clip mark from indexing points or scene change points for the program stored in the ClipMark in the Clip Information, as when the user selects a certain picture from a list of thumbnail pictures, as demonstrated on a user interface, of the indexing points or scene change points stored in the ClipMark, the controller 23 determines the AV stream readout position from the recording medium 100 to command the readout unit 28 to read out the AV stream. That is, the controller 23 commands the readout unit 28 to read out data from an I-picture having an address closest to the address on the AV stream which has stored the picture selected by the user. The readout unit 28 reads out data from the specified address. The read-out data is processed by the demodulating unit 29, ECC decoder 30 and by the source packetizer 19 so as to be supplied to the demultiplexer 26 and decoded by the audio decoder 27 to reproduce AV data indicated by an address of the mark point picture.

[0203] If the user has commanded fast forward playback, the controller 23 commands the readout unit 28 to sequentially read out I-picture data in the AV stream in succession based on the database (Clip) of the AV stream.

[0204] The readout unit 28 reads out data of the AV stream from a specified random access point. The so read-out data is reproduced through processing by various components on the downstream side.

[0205] The case in which the user edits the AV stream recorded on the recording medium 100 is now explained. If desired to specify a playback domain for the AV stream recorded on the recording medium 100, for example, if desired to create a playback route of reproducing a portion sung by a singer A from a song program A, and subsequently reproducing a portion sung by the same singer A from another song program B, the information pertinent to a beginning point (IN-point) and an end point (OUT-point) of the playback domain is input to the controller 23 from the terminal as a user interface. The controller 23 creates a database of the group (PlayList) of playback domains (PlayItem) of the AV streams.

[0206] When the user desires to erase a portion of the AV stream recorded on the recording medium 100, the information pertinent to the IN-point and the OUT-point of the erasure domain is input to the controller 23, which then modifies the database of the PlayList so as to refer to only the needed AV streams. The controller 23 also commands the write unit 22 to erase an unneeded stream portion of the AV stream.

[0207] The case in which the user desires to specify playback domains of an AV stream recorded on the recording medium to create a new playback route, and to interconnect the respective playback domains in a seamless fashion, is now explained. In such case, the controller 23 creates a database of a group (PlayList) of the playback domains (PlayItem) of the AV stream and undertakes to partially re-encode and re-multiplex the video stream in the vicinity of junction points of the playback domains.

[0208] The picture information at the IN-point and that at the OUT-point of a playback domain are input from a terminal 24 to a controller 23. The controller 23 commands the readout unit 28 to read out data needed to reproduce the pictures at the IN-point and at the OUT-point. The readout unit 28 reads out data from the recording medium 100. The data so read out is output through the demodulating unit 29, ECC decoder 30 and the source packetizer 19 to the demultiplexer 26.

[0209] The controller 23 analyzes data input to the demultiplexer 26 to determine the re-encoding method for the video stream (change of picture_coding_type and assignment of the quantity of encoding bits for re-encoding) and the re-multiplexing system to send the system to the AV encoder 15 and to the multiplexer 16.

[0210] The demultiplexer 26 then separates the input stream into the video stream (V), audio stream (A) and the system information (S). The video stream may be classed into data input to the audio decoder 27 and data input to the multiplexer 16. The former is data needed for re-encoding, and is decoded by the audio decoder 27, with the decoded picture being then re-encoded by the AV encoder 15 and thereby caused to become a video stream. The latter data is data copied from an original stream without re-encoding. The audio stream and the system information are directly input to the multiplexer 16.

[0211] The multiplexer 16 multiplexes an input stream, based on the information input from the controller 23, to output a multiplexed stream, which is processed by the ECC unit 20 and the modulation unit 21 so as to be sent to the write unit 22. The write unit 22 records an AV stream on the recording medium 100 based on the control signals supplied from the controller 23.

[0212] The application database information and the operation based on this information, such as playback and editing, are hereinafter explained. FIG. 2 shows the structure of an application format having two layers, that is PlayList and Clip, for AV stream management. The Volume Information manages all Clips and PlayLists in the disc. Here, one AV stream and the ancillary information thereof, paired together, is deemed to be an object, and is termed Clip. The AV stream file is termed a Clip AV stream file, with the ancillary information being termed the Clip Information file.

[0213] One Clip AV stream file stores data corresponding to an MPEG-2 transport stream arranged in a structure prescribed by the application format. By and large, a file is treated as a byte string. The contents of the Clip AV stream file are expanded on the time axis, with entry points in the Clip (I-picture) being mainly specified on the time basis. When a time stamp of an access point to a preset Clip is given, the Clip Information file is useful in finding the address information at which to start data readout in the Clip AV stream file.

[0214] Referring to FIG. 3, PlayList is now explained, which is provided for a user to select a playback domain desired to be viewed from the Clip and to edit the playback domain readily. One PlayList is a set of playback domains in the Clip. One playback domain in a preset Clip is termed PlayItem and is represented by a pair of an IN-point and an OUT-point on the time axis. So, the PlayList is formed by a set of plural PlayItems.

[0215] The PlayList is classified into two types, one of which is Real PlayList and the other of which is Virtual PlayList. The Real PlayList co-owns stream portions of the Clip it is referencing. That is, the Real PlayList takes up in the disc the data capacity corresponding to a stream portion of the Clip it is referencing and, when Real PlayList is erased, the data of the stream portion of the Clip it is referencing is also erased.

[0216] The Virtual PlayList is not co-owning Clip data. Therefore, if the Virtual PlayList is changed or erased, the contents of the Clip are in no way changed.

[0217] The editing of the Real Playlist is explained. FIG. 4A shows creation of Real PlayList and, if the AV stream is recorded as a new Clip, the Real PlayList which references the entire Clip is a newly created operation.

[0218]FIG. 4B shows the division of the real PlayList, that is the operation of dividing the Real PlayList at a desired point to split the Real PlayList in two Real PlayLists. This division operation is performed when two programs are managed in one clip managed by a sole PlayList and when the user intends to re-register or re-record the programs as separate individual programs. This operation does not lead to alteration of the Clip contents, that is to division of the Clip itself.

[0219]FIG. 4C shows the combining operation of the Real PlayList which is the operation of combining two Real PlayLists into one new Real PlayList. This combining operation is performed such as when the user desires to re-register two programs as a sole program. This operation does not lead to alteration of the Clip contents, that is to combining the clip itself into one.

[0220]FIG. 5A shows deletion of the entire Real PlayList. If the operation of erasing the entire preset Real PlayList, the associated stream portion of the Clip referenced by the deleted Real PlayList is also deleted.

[0221]FIG. 5B shows partial deletion of the Real PlayList. If a desired portion of the Real PlayList is deleted, the associated PlayItem is altered to reference only the needed Clip stream portion. The corresponding stream portion of the Clip is deleted.

[0222]FIG. 5C shows the minimizing of the Real PlayList. It is an operation of causing the PlayItem associated with the Real PlayList to reference only the stream portion of the Clip needed for Virtual PlayList. The corresponding stream portion of the Clip not needed for the Virtual PlayList is deleted.

[0223] If the Real PlayList is changed by the above-described operation such that the stream portion of the Clip referenced by the Real PlayList is deleted, there is a possibility that the Virtual PlayList employing the deleted Clip is present such that problems may be produced in the Virtual PlayList due to the deleted Clip.

[0224] In order to prevent this from occurring, such a message which runs: “If there exists the Virtual PlayList referencing the stream portion of the Clip the Real PlayList is referencing, and the Real PlayList is deleted, the Virtual PlayList itself is deleted—is it all right?” is displayed for the user in response to the user's operation of deletion by way of confirmation or alarming, after which the processing for deletion is executed or cancelled subject to user's commands. Alternatively, the minimizing operation for the Real PlayList is performed in place of deleting the Virtual PlayList.

[0225] The operation for the Virtual PlayList is now explained. If an operation is performed for the Virtual PlayList, the contents of the Clip are not changed. FIGS. 6A and 6B show the assembling and editing (IN—OUT editing). It is an operation of creating PlayItem of the playback domain the user has desired to view to create Virtual PlayList. The seamless connection between PlayItems is supported by the application format, as later explained.

[0226] If there exist two Real PlayLists 1, 2 and clips 1, 2 associated with the respective Real PlayLists, the user specifies a preset domain in the Real PlayList 1 (domain from IN1 to OUT1: PlayItem 1) as the playback domain, and also specifies, as the domain to be reproduced next, a preset domain in the Real PlayList 2 (domain from IN2 to OUT2: PlayItem 2) as the playback domain, as shown in FIG. 6A, a sole Virtual PlayList made up of PlayItem 1 and the PlayItem2 is prepared, as shown in FIG. 6B.

[0227] The re-editing of the Virtual PlayList is now explained. The re-editing may be enumerated by alteration of IN- or OUT points in the Virtual PlayList, insertion or appendage of new PlayItems to the Virtual PlayList and deletion of PlayItems in the Virtual PlayList. The Virtual PlayList itself may also be deleted.

[0228]FIG. 7 shows the audio dubbing (post recording) to the Virtual PlayList. It is an operation of registering the audio post recording to the Virtual PlayList as a sub path. This audio post recording is supported by the application software. An additional audio stream is added as a sub path to the AV stream of the main path of the Virtual PlayList.

[0229] Common to the Real PlayList and the Virtual PlayList is an operation of changing (moving) the playback sequence of the PlayList shown in FIG. 8. This operation is an alteration of the playback sequence of the PlayList in the disc (volume) and is supported by TableOfPlayList as defined in the application format, as will be explained subsequently with reference to e.g., FIG. 20. This operation does not lead to alteration of the Clip contents.

[0230] The mark (Mark) is now explained. The mark is provided for specifying a highlight or characteristic time in the Clip and in the PlayList, as shown in FIG. 9. The mark added to the Clip is termed the ClipMark. The ClipMark is e.g., a program indexing point or a scene change point for specifying a characteristic scene ascribable to contents in the AV stream. The ClipMark is generated by e.g., the analysis unit 14 of FIG. 1. When the PlayList is reproduced, the mark of the Clip referenced by the PlayList may be referenced and used.

[0231] The mark appended to the PlayList is termed the PlayListMark (play list mark). The PlayListMark is e.g., a bookmark point or a resuming point as set by the user. The setting of the mark to the Clip and to the PlayList is by adding a time stamp indicating the mark time point to the mark list. On the other hand, mark deletion is removing the time stamp of the mark from the mark list. Consequently, the AV stream is in no way changed by mark setting or by mark deletion.

[0232] As another format of the ClipMark, a picture referenced by the ClipMark may be specified on the address basis in the AV stream. Mark setting on the Clip is by adding the address basis information indicating the picture of the mark point to the mark list. On the other hand, mark deletion is removing the address basis information indicating the mark point picture from the mark list. Consequently, the AV stream is in no way changed by mark setting or by mark deletion.

[0233] A thumbnail is now explained. The thumbnail is a still picture added to the Volume, PlayList and Clip. There are two sorts of the thumbnail, one of them being a thumbnail as a representative picture indicating the contents. This is mainly used in a main picture in order for the user to select what the or she desired to view on acting on a cursor, not shown. Another sort of the thumbnail is a picture indicating a scene pointed by the mark.

[0234] The Volume and the respective PlayLists need to own representative pictures. The representative pictures of the Volume are presupposed to be used for initially demonstrating a still picture representing the disc contents when the disc is set in position in the recording and/or reproducing apparatus 1. It is noted that the disc means the recording medium 100 which is presupposed to be a of disc shape. The representative picture of the PlayList is presupposed to be used as a still picture for representing PlayList contents.

[0235] As the representative picture of the PlayList, it may be contemplated to use the initial picture of the PlayList as the thumbnail (representative picture). However, the leading picture at the playback time of 0 is not necessarily an optimum picture representing the contents. So, the user is allowed to set an optional picture as a thumbnail of the PlayList. Two sorts of the thumbnails, that is the thumbnail as a representative picture indicating the Volume and the thumbnail as a representative picture indicating PlayList, are termed menu thumbnails. Since the menu thumbnails are demonstrated frequently, these thumbnails need to be read out at an elevated speed from the disc. Thus, it is efficient to store the totality of the menu thumbnails in a sole file. It is unnecessary for the menu thumbnails to be pictures extracted from the moving pictures in the volume, but may be a picture captured from a personal computer or a digital still camera, as shown in FIG. 10.

[0236] On the other hand, the Clip and the PlayList need be marked with plural marks, whilst the pictures of the mark points need to be readily viewed in order to grasp the contents of the mark positions. The picture indicating such mark point is termed a mark thumbnail. Therefore, the picture which is the original of the mark thumbnail is mainly an extracted mark point picture rather than a picture captured from outside.

[0237]FIG. 11 shows the relation between the mark affixed to the PlayList and the mark thumbnail, whilst FIG. 12 shows the relation between the mark affixed to the Clip and the mark thumbnail. In distinction from the menu thumbnail, the mark thumbnail is used in e.g., a sub-menu for representing details of the PlayList, while it is not requested to be read out in a short access time. So, whenever a thumbnail is required, the recording and/or reproducing apparatus 1 opens a file and reads out a portion of the file, while there is no problem presented even if file opening and reading out a portion of the file by the recording and/or reproducing apparatus 1 takes some time.

[0238] For decreasing the number of files present in a volume, it is preferred for the totality of the mark thumbnails to be stored in one file. While the PlayList may own one menu thumbnail and plural mark thumbnails, the user is not required to select the Clip directly (usually, the Clip is selected through PlayList), and hence there is no necessity of providing menu thumbnails.

[0239]FIG. 13 shows the relation between the menu thumbnails, mark thumbnails, PlayList and Clips. In the menu thumbnail file are filed menu thumbnails provided from one PlayList to another. In the menu thumbnail file is contained a volume thumbnail representing the contents of data recorded on the disc. In the menu thumbnail file are filed thumbnails created from one PlayList to another and from one Clip to another.

[0240] The CPI (Characteristic Point Information) is hereinafter explained. The CPI is data contained in the Clip information file and is used mainly for finding a data address in the Clip AV stream file at which to start the data readout when a time stamp of the access point to the Clip is afforded. In the present embodiment two sorts of the CPI are used, one of them being EP_map and the other being TU_map.

[0241] The EP_map is a list of entry point (EP) data extracted from the elementary stream and the transport stream. This has the address information used to find the site of entry points in the AV stream at which to start the decoding. One EP data is made up of a presentation time stamp (PTS) and a data address in the AV stream of the accessing unit associated with the PTS, with the data address being paired to the PTS.

[0242] The EP_map is used mainly for two purposes. First, it is used for finding a data address in the AV stream in the accessing unit referenced by the PTS in the PlayList. Second, the EP_map is used for fast forward playback or fast reverse playback. If, in recording the input AV stream by the recording and/or reproducing apparatus 1, the syntax of the stream can be analyzed, the EP_map is created and recorded on the disc.

[0243] The TU_map has a list of time unit (TU) data which is derived from the arrival time point of the transport packet input through a digital interface. This affords the relation between the arrival-time-based time and the data address in the AV stream. When the recording and/or reproducing apparatus 1 records an input AV stream, and the syntax of the stream cannot be analyzed, a TU_map is created and recorded on the disc.

[0244] The STCInfo stores the discontinuous point information in the AV stream file which stores the MPEG-2 transport stream.

[0245] When the AV stream has discontinuous points of STC, the same PTS values may appear in the AV stream file. Thus, if a time point in the AV stream is specified on the PTS basis, the PTS pf the access point is insufficient to specify the point. Moreover, an index of the continuous STC domain containing the PTS is required. In this format, the continuous STC domain and its index are termed an STC-sequence and STC-sequence-id, respectively. The STC-sequence information is defined by the STCInfo of the Clip Information file.

[0246] The STC-sequence-id is used in an AV stream file and is optional in the AV stream file having the TU_map.

[0247] The programs are each a collection of elementary streams and co-own a sole system time base for synchronized reproduction of these streams.

[0248] It is useful for a reproducing apparatus (recording and/or reproducing apparatus 1 of FIG. 1) to know the contents of an AV stream prior to its decoding. These contents include e.g., values of the PID of a transport packet transmitting an audio or video elementary stream or the type of the video or audio components, such as HDTV video or MPEG-2 AAC audio stream. This information is useful for creating a menu screen foy illustrating to the user the contents of the PlayList referencing the AV stream. It is similarly useful for setting the initial state of the AV decoder and the demultiplexer of the respective apparatus.

[0249] For this reason, the Clip Information file owns ProgramInfo for illustrating the program contents.

[0250] It may be an occurrence that program contents be changed in the AV stream file in which the MPEG-2 transport stream is stored. For example, the PID of the transport packet transmitting the video elementary stream may be changed, or the component type of the video stream may be changed from SDTV to HDTV.

[0251] The ProgramInfo stores the information on change points of program contents in the AV stream file. The domain of the AV stream file in which the program contents remain constant is termed program-sequence.

[0252] This program-sequence is used in an AV stream file having EP_map and is optional in an AV stream file having TU_map.

[0253] The present embodiment defines the self-encoding stream format (SESF). Ths SESF is used for encoding analog input signals and for decoding a digital input signals for subsequently encoding the decoded signal into an MPEG-2 transport stream.

[0254] The SESF defines an elementary stream pertinent to the MPEG-2 transport stream and the AV stream. When the recording and/or reproducing apparatus 1 encodes and records the SESF stream, an EP_map is created and recorded on the disc.

[0255] A digital broadcast stream uses one of the following systems for recording on the recording medium 100: First, the digital broadcast stream is transcoded into an SESF stream. In this case, the recorded stream must conform to SESF and EP_map must be prepared and recorded on the disc.

[0256] Alternatively, an elementary stream forming a digital broadcast stream is transcoded to a new elementary stream and re-multiplexed to a new transport stream conforming to the stream format prescribed by the organization for standardizing the digital broadcast stream. In this case, an EP_map must be created and recorded on the disc.

[0257] For example, it is assumed that the input stream is an MPEG-2 transport stream conforming to the ISDB (standard appellation of digital BS of Japan), with the transport stream containing the HDTV video stream and the MPEG AAC audio stream. The HDTV video stream is transcoded to an SDTV video stream, which SDTV video stream and the original AAC audio stream are re-multiplexed to TS. The SDTV stream and the transport stream both need to conform to the ISDB format.

[0258] Another system of recording the digital broadcast stream on the recording medium 100 is to make transparent recording of the input transport stream, that is to record the input transport stream unchanged, in which case the EP_map is formulated and recorded on the disc.

[0259] Alternatively, the input transport stream is recorded transparently, that is an input transport stream is recorded unchanged, in which case TU_map is created and recorded on the disc.

[0260] The directory and the file are hereinafter explained. The recording and/or reproducing apparatus 1 is hereinafter described as DVR (digital video recording). FIG. 14 shows a typical directory structure on the disc. The directories of the disc of the DVR may be enumerated by a root directory including “DVR” directory, and the “DVR” directory, including “PLAYLIST” directory, “CLIPINF” directory, “M2TS” directory and “DATA” directory, as shown in FIG. 14. Although directories other than these may be created below the root directory, these are discounted in the application format of the present embodiment.

[0261] Below the “DATA” directory, there are stored all files and directories prescribed by the DVR application format. The “DVR” directory includes four directories. Below the “PLAYLIST” directory are placed Real PlayList and Virtual PlayList database files. The latter directory may exist in a state devoid of PlayList.

[0262] Below “CLIPINF” is placed a Clip database. This directory, too, may exist in a state devoid of AV stream files. In the “DATA” directory, there are stored files of data broadcast, such as digital TV broadcast.

[0263] The “DVR” directory stores the following files: That is, an “info.dvr” is created below the DVR directory to store the comprehensive information of an application layer. Below the DVR directory, there must be a sole info.dvr. The filename is assumed to be fixed to info.dvr. The “menu.thmb” stores the information pertinent to the menu thumbnails. Below the DVR directory, there must be 0 or 1 mark thumbnail. The filename is assumed to be fixed to “menu.thmb”. If there is no menu thumbnail, this file may not exist.

[0264] The “mark.thmb” file stores the information pertinent to the mark thumbnail picture. Below the DVR directory, there must be 0 or 1 mark thumbnail. The filename is assumed to be fixed to “menu.thmb”. If there is no menu thumbnail, this file may not exist.

[0265] The “PLAYLIST” directory stores two sorts of the PlayList files which are Real PlayList and Virtual PlayList. An “xxxxx.rpls” file stores the information pertinent to one Real PlayList. One file is created for each Real PlayList. The filename is “xxxxx.rpls”, where “xxxxx” denotes five numerical figures from 0 to 9. A file extender must be “rpls”.

[0266] The “yyyyy.vpls” stores the information pertinent to one Virtual PlayList. One file with a filename “yyyyy,vpls” is created from one Virtual PlayList to another, where “yyyyy” denotes five numerical figures from 0 to 9. A file extender must be “vpls”.

[0267] The “CLIPINF” directory stores one file in association with each AV stream file. The “zzzzz.clpi” is a Clip Information file corresponding to one AV stream file (Clip AV stream file or Bridge-Clip stream file). The filename is “zzzzz.clpi”, where “zzzzz” denotes five numerical figures from 0 to 9. A file extender must be “clpi”.

[0268] The “M2TS” directory stores an AV stream file. The “zzzzz.m2ts” file is an AV stream file handled by the DVR system. This is a Clip AV stream file or a Bridge-Clip AV stream file. The filename is “zzzzz.m2ts”, where “zzzzz” denotes five numerical figures from 0 to 9. A file extender must be “m2ts”.

[0269] The “DATA” directory stores data transmitted from data broadcasting. This data may, for example, be XML or MPEG files.

[0270] The syntax and the semantics of each directory (file) are now explained. FIG. 15 shows the syntax of the “info.dvr” file. The “info.dvr” file is made up of three objects, that is DVRVoume( ), TableOfPlayLists( ) and MakersPrivateData( ).

[0271] The syntax of info.dvr shown in FIG. 15 is explained. The TableOfPlayLists_Start_address indicates the leading address of the TableOfPlayLists( ) in terms of the relative number of bytes from the leading byte of the “info.dvr” file. The relative number of bytes is counted beginning from 0.

[0272] The MakersPrivateData_Start_address indicates the leading address of the MakersPrivateData( ), in terms of the relative number of bytes as from the leading byte of the “info.dvr” file. The relative number of bytes is counted from 0. The padding_word is inserted in association with the syntax of “info.dvr”. N1 and N2 are optional positive integers. Each padding word may assume an optional value.

[0273] The DVRVolume( ) stores the information stating the contents of the volume (disc). FIG. 16 shows the syntax of the DVRVolume. The syntax of the DVRVolume( ), shown in FIG. 16, is now explained. The version_number indicates four character letters indicting the version numbers of the DVRVolume( ). The version_number is encoded to “0045” in association with ISO646.

[0274] Length is denoted by 32-bit unsigned integers indicating the number of bytes from directly after the length field to the trailing end of DVRVolume( ).

[0275] The ResumeVolume( ) memorizes the filename of the Real PlayList or the Virtual PlayList reproduced last in the Volume. However, the playback position when the user has interrupted playback of the Real PlayList or the Virtual PlayList is stored in the resume-mark defined in the PlayListMark( ) (see FIGS. 42 and 43).

[0276]FIG. 17 shows the syntax of the ResumeVolume( ). The syntax of the ResumeVolume( ) shown in FIG. 17 is explained. The valid_flag indicates that the resume_PlayList_name field is valid or invalid when this 1-bit flag is set to 1 or 0, respectively.

[0277] The 10-byte field of resume_PlayList_name indicates the filename of the Real PlayList or the Virtual PlayList to be resumed.

[0278] The UIAppInfoVolume in the syntax of the DVRVolume( ), shown in FIG. 16, stores parameters of the user interface application concerning the Volume. FIG. 18 shows the syntax of the UIAppInfoVolume, the semantics of which are now explained. The 8-bit field of character_set indicates the encoding method for character letters encoded in the Volume_name field. The encoding method corresponds to the values shown in FIG. 19.

[0279] The 8-bit field of the name_length indicates the byte length of the Volume name indicated in the Volume_name field. The Volume_name field indicates the appellation of the Volume. The number of bytes of the number of the name_length counted from left of the field is the number of valid characters and indicates the volume appellation. The values next following these valid character letters may be any values.

[0280] The Volume_protect_flag is a flag indicating whether or not the contents in the Volume can be shown to the user without limitations. If this flag is set to 1, the contents of the Volume are allowed to be presented (reproduced) to the user only in case the user has succeeded in correctly inputting the PIN number (password). If this flag is set to 0, the contents of the Volume are allowed to be presented to the user even in case the PIN number is not input by the user.

[0281] If, when the user has inserted a disc into a player, this flag has been set to 0, or the flag is set to 1 but the user has succeeded in correctly inputting the PIN number, the recording and/or reproducing apparatus 1 demonstrates a list of the PlayList in the disc. The limitations on reproduction of the respective PlayLists are irrelevant to the Volume_protect_flag and are indicated by playback_control_flag defined in the UIAppInfoVolume.

[0282] The PIN is made up of four numerical figures of from 0 to 9, each of which is coded in accordance with ISO/IEC 646. The ref_thumbnail_index field indicates the information of a thumbnail picture added to the Volume. If the ref_thumbnail_index field is of a value other than 0×FFFF, a thumbnail picture is added to the Volume. The thumbnail picture is stored in a menu.thumb file. The picture is referenced using the value of the ref_thumbnail_index in the menu.thumb file. If the ref_thumbnail_index field is 0×FFFF, it indicates that a thumbnail picture has been added to the Volume.

[0283] The TableOfPlayList( ) in the info.dvr syntax shown in FIG. 15 is explained. The TableOfPlayList( ) stores the filename of the PlayList (Real PlayList and Virtual PlayList). All PlayList files recorded in the Volume are contained in the TableOfPlayList( ), which TableOfPlayList( ) indicates the playback sequence of the default of the PlayList in the Volume.

[0284]FIG. 20 shows the syntax of the TableOfPlayList( ), which is now explained. The version_number of the TableOfPlayList( ) indicates four character letters indicating the version numbers of the TableOfPlayLists. The version_number must be encoded to “0045” in accordance with ISO 646.

[0285] Length is a unsigned 32-bit integer indicating the number of bytes of the TableOfPlayList( ) from directly after the length field to the trailing end of the TableOfPlayList( ). The 16-bit field of the number_of_PlayLists indicates the number of loops of the for-loop inclusive of the PlayList_file_name. This numerical figure must be equal to the number of PlayLists recorded in the Volume. The 10-byte numerical figure of the PlayList_file_name indicates the filename of the PlayLists.

[0286]FIG. 21 shows another configuration of the syntax of the TableOfPlayList( ). The syntax shown in FIG. 21 is comprised of the syntax shown in FIG. 20 in which is contained the UIAppInfoPlayList. By such structure including the UIAppInfoPlayList, it becomes possible to create a menu picture simply on reading out the TableOfPlayLists. The following explanation is premised on the use of the syntax shown in FIG. 20.

[0287] The MakersPrivateData in the info.dvr shown in FIG. 15 is explained. The MakersPrivateData is provided to permit the maker of the recording and/or reproducing apparatus 1 to insert private data of the maker in the MakersPrivateData( ) for special applications of different companies. The private data of each maker has standardized maker_ID for identifying the maker who has defined it. The MakersPrivateData( ) may contain one or more maker_ID.

[0288] If a preset maker intends to insert private data, and the private data of a different maker is already contained in the MakersPrivateData( ), the new private data is added to the MakersPrivateData( ) without erasing the pre-existing old private data. Thus, in the present embodiment, private data of plural makers can be contained in one MakersPrivateData( ).

[0289]FIG. 22 shows the syntax of the MakersPrivateData. The syntax of the MakersPrivateData shown in FIG. 22 is explained. The version_number of the TableOfPlayList( ) indicates four character letters indicating the version numbers of the TableOfPlayLists. The version_number must be encoded to “0045” in accordance with ISO 646. Length is a unsigned 32-bit integer indicating the number of bytes of the TableOfPlayList( ) from directly after the length field to the trailing end of the MakersPrivateData( ).

[0290] The mpd_blocks_start_address indicates the leading end address of the first mpd_block( ) in terms of the relative number of bytes from the leading byte of the MakersPrivateData( ). The number_of_maker_entries is the 16-bit codeless integer affording the number of entries of the maker private data included in the MakersPrivateData( ). There must not be present two or more maker private data having the same maker_ID values in the MakersPrivateData( ).

[0291] The mpd_blocks_size is a 16-bit unsigned integer affording one mpd_block size in terms of 1024 bytes as a unit. For example, if mpd_block_size=1, it indicates that the size of one mpd_block is 1024 bytes. The number_of_mpd_blocks is a 16-bit unsigned integer affording the number of mpd_blocks contained in the MakersPrivateData( ). The maker_ID is the 16-bit unsigned integer indicating the model number code of the DVR system which has created the maker private data. The value encoded to the maker_ID is specified by the licensor.

[0292] The maker_model_code is a 16-bit unsigned integer indicating the model number code of the DVR system which has created the maker private data. The value encoded to the maker_model_code is set by the maker who has received the license of the format. The start_mpd_block_number is a 16-bit unsigned integer indicating the number of the mpd_block number at which begins the maker private data. The leading end of the maker private data must be aligned with the leading end of the mpd_block. The start_mpd_block_number corresponds to a variable j in the for-loop of the mpd_block.

[0293] The mpd_length is a 32-bit unsigned integer indicating the size of the maker private data. The mpd_block is an area in which is stored maker private data. All of the mpd_blocks in the MakersPrivateData( ) must be of the same size.

[0294] The real PlayList file and the Virtual PlayList file, in other words, xxxxx.rpls and yyyyy.vpls, are explained. FIG. 23 shows the syntax of xxxxx.rpls (Real PlayList) and yyyyy.vpls (Virtual PlayList), which are of the same syntax structure. Each of the xxxxx.rpls and yyyyy.vpls is made up of three objects, that is PlayList( ), PlayListMark( ) and MakersPrivateData( ).

[0295] The PlayListMark_Start_address indicates the leading address of the PlayListMark( ), in terms of the relative number of bytes from the leading end of the PlayList file as a unit. The relative number of bytes is counted from zero.

[0296] The MakersPrivateData_Start_address indicates the leading address of the MakersPrivateData( ), in terms of the relative number of bytes from the leading end of the PlayList file as a unit. The relative number of bytes is counted from zero.

[0297] The padding_word (padding word) is inserted in accordance with the syntax of the PlayList file, with N1 and N2 being optional positive integers. Each padding word may assume an optional value.

[0298] PlayList will be further explained in the following although it has been explained briefly. A playback domain in all Clips except Bridge-Clip must be referred by all PlayLists in the disc. Also, two or more Real PlayLists must not overlap the playback domains shown by their PlayItems in the same Clip.

[0299] Reference is made to FIGS. 24A, 24B and 24C. For all Clips, there exist corresponding Real PlayLists, as shown in FIG. 24A. This rule is observed even after the editing operation has come to a close, as shown in FIG. 24B. Therefore, all Clips must be viewed by referencing one of Real PlayLists.

[0300] Referring to FIG. 24C, the playback domain of the Virtual PlayList must be contained in the playback domain and in the Bridge-Clip playback domain. There must not be present in the disc Bridge-Clip not referenced by any Virtual PlayList.

[0301] The Real PlayList, containing the list of the PlayItem, must not contain SubPlayItem. The Virtual PlayList contains the PlayItem list and, if the CPI_type contained in the PlayList( ) is the EP_map type and the PlayList_type is 0 (PlayList containing video and audio), the Virtual PlayList may contain one SubPlayItem. In the PlayList( ) in the present embodiment, the SubPlayItem is used only for audio post recording. The number of the SubPlayItems owned by one Virtual PlayList must be 0 or 1.

[0302] The PlayList is hereinafter explained. FIG. 25 shows the PlayList syntax which is now explained. The version_number indicates four character letters indicting the version numbers of the PlayList( ). The version_number is encoded to “0045” in association with ISO 646. Length is a 32-bit unsigned integer indicating the total number of byte of the PlayList( ) as from directly after the length field to the trailing end of the PlayList( ). The PlayList_type, one example of which is shown in FIG. 26, is an 8-bit field indicating the PlayList type.

[0303] The CPI_type is one-bit flag indicating the value of the CPI_type of the Clip referenced by the PlayItem( ) and by the SubPlayItem( ). The CPI_types defined in the CPIs of all Clips referenced by one PlayList must be of the same values. The number_of_PlayItems is a 16-bit field indicating the number of PlayItems present in the PlayList.

[0304] The PlayItem_id corresponding to the preset PlayItem( ) is defined by the sequence in which the PlayItem( ) appears in the for-loop containing the PlayItem( ). The PlayItem_id begins with 0. The nimber_of_SubPlayItems is a 16-bit field indicating the number of SubPlayItem in the PlayList. This value is 0 or 1. An additional audio stream path (audio stream path) is a sort of a sub path.

[0305] The UIAppInfoPlayList of the PlayList syntax shown in FIG. 25 is explained. The UIAppInfoPlayList stores parameters of the user interface application concerning the PlayList. FIG. 27 shows the syntax of the UIAppInfoPlayList, which is now explained. The character_set is an 8-bit field indicating the method for encoding character letters encoded in the PlayList_name field. The encoding method corresponds to the values conforming to the table shown in FIG. 19.

[0306] The name_length is an 8-bit field indicating the byte length of the PlayList name indicated in the PlayList_name field. The PlayList_name field shows the appellation of the PlayList. The number of bytes of the number of the name_length counted from left of the field is the number of valid characters and indicates the PlayList appellation. The values next following these valid character letters may be any values.

[0307] The record_time_and_date is a 56-bit field storing the date and time on which the PlayList was recorded. This field is 14 numerical figures for year/month/day/hour/minute/second encoded in binary coded decimal (BCD). For example, 2001/12/23:01:02:03 is encoded to “0×20011223010203”.

[0308] The duration is a 24-bit field indicating the total replay time of the PlayList in terms of hour/minute/second as a unit. This field is six numerical figures encoded in binary coded decimal (BCD). For example, 01:45:30 is encoded to “0×014530”.

[0309] The valid_period is a 32-bit field indicating the valid time periods of the PlayList. This field is 8 numerical figures encoded in 4-bit binary coded decimal (BCD). The valid_period is used in the recording and/or reproducing apparatus 1 e.g., when the PlayList, for which the valid period has lapsed, is to be automatically erased. For example, 2001/05/07 is encoded to “0×20010507”.

[0310] The maker_ID is a 16-bit unsigned integer indicating the maker of the DVR player (recording and/or reproducing apparatus 1) which has been the last to update its PlayList. The value encoded to maker_ID is assigned to the licensor of the DVR format. The maker_code is a 16-bit unsigned integer indicating the model number of the DVR player which has been the last to update the PlayList. The value encoded to the maker_code is determined by the maker who has received the license of the DVR format.

[0311] If the flag of the playback_control_flag is set to 1, its PlayList is reproduced only when the user successfully entered the PIN number. If this flag is set to 0, the user may view the PlayList without the necessity of inputting the PIN number.

[0312] If the write_protect_flag is set to 1, the contents of the PlayList are not erased nor changed except the write_protect_flag. If this flag is set to 0, the user is free to erase or change the PlayList. If this flag is set to 1, the recording and/or reproducing apparatus 1 demonstrates a message requesting reconfirmation by the user before the user proceeds to erase, edit or overwrite the PlayList.

[0313] The Real PlayList, in which the write_protect_flag is set to 0, may exist, the Virtual PlayList, referencing the Clip of the Real PlayList may exist, and the write_protect_flag of the Virtual PlayList may be set to 1. If the user is desirous to erase the Real PlayList, the recording and/or reproducing apparatus 1 issues an alarm to the user as to the presence of the aforementioned Virtual PlayList or “minimizes” the Real PlayList before erasing the Real PlayList.

[0314] If is_played_flag is set to 1, as shown in FIG. 28B, it indicates that the PlayList was reproduced at least once since it was recorded, whereas, if it is set to 0, it indicates that the PlayList was not reproduced even once since it was recorded.

[0315] Archive is a two-bit field indicating whether the PlayList is an original or a copy, as shown in FIG. 28C. The field of ref_thumbnail_index indicates the information of a thumbnail picture representative of the PlayList. If the ref_thumbnail_index field is of a value other than 0×FFFF, a thumbnail picture representative of the PlayList is added in the PlayList, with the PlayList being stored in the menu.thmb file. The picture is referenced using the value of ref_thumbnail_index in the menu.thmb file. If the ref_thumbnail_index field is 0×FFFF, no thumbnail picture representative of the PlayList is added in the PlayList.

[0316] The PlayItem is hereinafter explained. One PlayItem( ) basically contains the following data: Clip_Information_file_name for specifying the filename of the Clip, IN-time and OUT-time, paired together to specify the playback domain of Clip, STC_sequence_id referenced by IN-time and OUT-time in case the CPI_type defined in PlayList( ) is EP_map type, and Connection_Condition indicating the connection condition of previous PlayItem and current PlayItem.

[0317] If PlayList is made up of two or more PlayItems, these PlayItems are arrayed in a row, without temporal gap or overlap, on the global time axis of the PlayList. If CPI_type defined in the PlayList is EP_map type and the current PlayList does not have the BridgeSequence( ), the IN-time and OUT-time pair must indicate the same time on the STC continuous domain as that specified by the STC_sequence_id. Such instance is shown in FIG. 29.

[0318]FIG. 30 shows such a case in which the CPI_type defined by PlayList( ) and, if the current PlayItem has the BridgeSequence( ), the rules as now explained are applied. The IN_time of the PlayItem previous to the current PlayItem, shown as IN_time1, indicates the time in Bridge-Clip specified in the BridgeSequenceInfo( ) of the current PlayItem. This OUT_time must obey the encoding limitations which will be explained subsequently.

[0319] The IN_time of the current PlayItem, shown as IN_time2, indicates the time in Bridge-Clip specified in the BridgeSequenceInfo( ) of the current PlayItem. This IN_time also must obey the encoding limitations as later explained. The OUT_time of PlayItem of the current PlayItem, shown as OUT_time2, indicates the time on the STC continuous domain specified by STC_sequenbce_id of the current PlayItem.

[0320] If the CPI_type of PlayList( ) is TU_map type, the IN_time and OUT_time of PlayItem, paired together, indicate the time on the same Clio AV stream, as shown in FIG. 31.

[0321] The PlayItem syntax is as shown in FIG. 32. As to the syntax of the PlayItem, shown in FIG. 32, the field of the Clip_information_file_name indicates the filename of the Clip Information. The Clip_stream_type defined by the ClipInfo( ) of this Clip Information file must indicate the Clip AV stream.

[0322] The STC_sequence_id is an 8-bit field and indicates the STC_sequence_id of the continuous STC domain referenced by the PlayItem. If the CPI_type specified in the PlayList( ) is TU_map type, this 8-bit field has no meaning and is set to 0. IN_time is a 32-bit field and used to store the playback start time of PlayItem. The semantics of IN_time differs with CPI_type defined in the PlayList( ), as shown in FIG. 33.

[0323] OUT_time is a 32-bit field and is used to store the playback end time of PlayItem. The semantics of OUT_time differs with CPI_type defined in the PlayList( ), as shown in FIG. 34.

[0324] Connection_condition is a 2-bit field indicating the connection condition between the previous PlayItem and the current PlayItem, as shown in FIG. 35. FIGS. 36A to 36D illustrate various states of Connection_condition shown in FIG. 35.

[0325] BridgeSequenceInfo is explained with reference to FIG. 37. This BridgeSequenceInfo is the ancillary information of the current PlayItem and includes the following information. That is, BridgeSequenceInfo includes Bridge_Clip_Information_file_name for specifying the Bridge_Clip AV file and a Bridge_Clip_Information_file_name specifying the corresponding Clip Information file (FIG. 45).

[0326] It is also an address of a source packet on the Clip AV stream referenced by the previous PlayItem. Next to this source packet is connected the first source packet of the Bridge-Clip AV stream. This address is termed the RSPN_exit_from_previous_Clip. It is also an address of the source packet on the Clip AV stream referenced by the current PlayItem. Ahead of this source packet is connected the last source packet of the Bridge_clip AV stream file. This address is termed RSPN_enter_to_current_Clip.

[0327] In FIG. 37, RSPN_arrival_time_discontinuity indicates an address of a source packet in the Bridge_Clip AV stream where there is a discontinuous point in the arrival time base. This address is defined in the ClipInfo( ) (FIG. 46).

[0328]FIG. 38 shows the syntax of the BridgeSequenceInfo. Turning to the syntax of BridgeSequenceInfo shown in FIG. 38, the field of Bridge_Clip_Information_file_name indicates the filename of the Clip Information file corresponding to the Bridge_Clip_Information_file. The Clip_stream_type defined in ClipInfo( ) of this Clip information file must indicate ‘Bridge_Clip AV stream’.

[0329] The 32-bit field of the RSPN_exit_from_previous_Clip is a relative address of a source packet on the Clip AV stream referenced by the previous PlayItem. Next to this source packet is connected the first source packet of the Bridge_Clip AV stream file. The RSPN_exit_from_previous_Clip has a size based on the source packet number as a unit, and is counted with the value of the offset_SPN defined in the ClipInfo( ) from the first source packet of the Clip AV stream file referenced by the previous PlayItem.

[0330] The 32-bit field of RSPN_enter_to_curent_Clip is the relative address of the source packet on the Clip AV stream referenced by the current PlayItem. Ahead of this source packet is connected the last source packet of the Bridge_Clip_AV stream file. The RSPN_enter_to_curent_Clip has a size that is based on the source packet number as a unit. The RSPN_enter_to_curent_Clip is counted with the value of the offset_SPN, defined in the ClipInfo( ) from the first source packet of the Clip AV stream file referenced by the current PlayItem, as an initial value.

[0331] The SubPlayItem is explained with reference to FIG. 39. The use of SubPlayItem( ) is permitted only if the CPI_type of the PlayList( ) is the EP_map type. In the present embodiment, SubPlayItem is used only for audio post recording. The SubPlayItem( ) includes the following data. First, it includes Clip_Information_file_name for specifying the Clip referenced by the sub path in the PlayList.

[0332] It also includes SubPath_IN_time and SubPath_OUT_time for specifying the sub path playback domain in the Clip. Additionally, it includes sync_PlayItem_id and start_PTS_of_PlayItem for specifying the time of starting the sub path reproduction on the main path time axis. The Clip AV stream, referenced by the sub path, must not contain STC discontinuous points (discontinuous points of the system time base). The clocks of audio samples of the Clip used in the sub path are locked to the clocks of the audio samples of the main path.

[0333]FIG. 40 shows the syntax of the SubPlayItem. Turning to the syntax of the SubPlayItem, shown in FIG. 40, the field of the Clip_Information_file_name indicates the filename of the Clip Information file and is used by a sub path in the PlayList. The Clip_stream_type defined in this ClipInfo( ) must indicate the Clip AV stream.

[0334] An 8-bit field of sync_PlayItem_id indicates the sub path type. Here, only ‘0×00’ is set, as shown in FIG. 41, while other values are reserved for future use.

[0335] The 8-bit field of sync_PlayItem_id indicates the PlayItem_id of the PlayItem containing the time of playback start of the sub path on the time axis of the main path. The value of PlayItem_id corresponding to the preset PlayItem is defined in the PlayList( ) (FIG. 25).

[0336] A 32-bit field of sync_start_PTS_of_PlayItem denotes the time of playback start of the sub path on the time axis of the main path, and denotes the upper 32 bits of the PTS (presentation time stamp) on the PlayItem referenced by the sync_PlayItem_id. The upper 32 bit field of the SubPath_IN_time stores the playback start time of the sub path. SubPath_IN_time denotes upper 32 bits of the PTS of 33 bits corresponding to the first presentation unit in the sub path.

[0337] The upper 32 bit field of subPath_OUT_time stores the playback end time of the sub path. SubPath_OUT_time indicates upper 32 bits of the value of the Presentation_end_TS calculated by the following equation:

Presentation_end_TS=PTS_OUT+AU_duration

[0338] where PTS_out is the PTS of the 33 bit length corresponding to the last presentation unit of the SubPath and AU_duration is the 90 kHz based display period of the last presentation unit of the SubPath.

[0339] Next, PlayListMark( ) in the syntax of xxxxx.rpls and yyyyy.vpls shown in FIG. 23 is explained. The mark information pertinent to the PlayList is stored in this PlayListMark. FIG. 42 shows the syntax of PlayListMark. Turning to the syntax of the PlayListMark shown in FIG. 42, version_number is four character letters indicating the version number of this PlayListMark( ). The version_number must be encoded to “0045” in accordance with ISO 646.

[0340] Length is an unsigned 32-bit integer indicating the number of bytes of PlayListMark( ) from directly after the length field to the trailing end of the PlayListMark( ). The number_of_PlayListMarks is a 16-bit unsigned integer indicating the number of marks stored in the PlayListMark. The number_of_PlayListMarks may be zero. The mark_type is an 8-bit field indicating the mark type and is encoded in the table shown in FIG. 43.

[0341] A 32-bit filed of mark_time_stamp stores a time stamp indicating the point specified by the mark. The semantics of the mark_time_stamp differ with CPI_type defined in the PlayList( ), as shown in FIG. 44. The PlayItem_id is an 8-bit field specifying the PlayItem where the mark is put. The values of PlayItem_id corresponding to a preset PlayItem is defined in the PlayList( ) (see FIG. 25).

[0342] An 8-bit field of character_set shows the encoding method of character letters encoded in the mark_name field. The encoding method corresponds to values shown in FIG. 19. The 8-bit field of name_length indicates the byte length of the mark name shown in the mark_name field. The mark_name field denotes the mark name indicated in the mark_name field. The number of bytes corresponding to the number of name_lengths from left of this field is the effective character letters and denotes the mark name. In the mark_name field, the value next following these effective character letters may be arbitrary.

[0343] The field of the ref_thumbnail_index denotes the information of the thumbnail picture added to the mark. If the field of the ref_thumbnail_index is not 0×FFFF, a thumbnail picture is added to its mark, with the thumbnail picture being stored in the mark.thmb file. This picture is referenced in the mark.thmb file, using the value of ref_thumbnail_index, as explained subsequently. If the ref_thumbnail_index field is 0×FFFF, it indicates that no thumbnail picture is added to the mark.

[0344] The Clip Information file is now explained. The zzzzz.clpi (Clip Information file) is made up of six objects, as shown in FIG. 45. These are ClipInfo( ), STC_Info( ), Program( ), CPI( ), ClipMark( ) and MakersPrivateData( ). For the AV stream (Clip AV stream or Bridge-Clip AV stream) and the corresponding Clip Information file, the same string of numerals “zzzzz” is used.

[0345] Turning to the syntax of zzzzz.clpi (Clip Information file) shown in FIG. 45 is explained. The ClipInfo_Start_address indicates the leading end address of ClipInfo( ) with the relative number of bytes from the leading end byte of the zzzzz.clpi file as a unit. The relative number of bytes is counted from zero.

[0346] The STC_Info_Start_address indicates the leading end address of STC_Info with the relative number of bytes from the leading end byte of the zzzzz.clpi file as a unit. The ProgramInfo_Start_address indicates the leading end address of ProgramInfo( ) with the relative number of bytes from the leading end byte of the zzzzz.clpi file as a unit. The relative number of bytes is counted from 0. The CPI_Start_address indicates the leading end address of CPI( ) with the relative number of bytes from the leading end byte of the zzzzz.clpi file as a unit. The relative number of bytes is counted from zero.

[0347] The ClipMark_Start_address indicates the leading end address of ClipMark( ) with the relative number of bytes from the leading end byte of the zzzzz.clpi file as a unit. The relative number of bytes is counted from zero. The_MakersPrivateData Start_address indicates the leading end address of MakersPrivateData( ) with the relative number of bytes from the leading end byte of the zzzzz.clpi file as a unit. The relative number of bytes is counted from zero. The padding_word is inserted in accordance with the syntax of the zzzzz.clpi file. N1, N2, N3, N4 and N5 must be zero or optional positive integers. The respective padding words may also assume optional values.

[0348] The ClipInfo is now explained. FIG. 46 shows the syntax of ClipInfo. FIG. 46 shows the syntax of ClipInfo. In the ClipInfo( ) is stored the attribute information of corresponding AV stream files (Clip AV stream or Bridge-Clip AV stream file).

[0349] Turning to the syntax of the ClipInfo shown in FIG. 46, version_number is the four character letters indicating the version number of this ClipInfo( ). The version_number must be encoded to “0045” in accordance with the ISO 646. Length is a 32-bit unsigned integer indicating the number of bytes of ClipInfo( ) from directly at back of the length field to the trailing end of the ClipInfo( ). An 8-bit field of Clip_stream_type indicates the type of the AV stream corresponding to the Clip Information file, as shown in FIG. 47. The stream types of the respective AV streams will be explained subsequently.

[0350] The 32-bit field of offset_SPN gives an offset value of the source packet number of the first source packet number of the first source packet of the AV stream (Clip AV stream or the Bridge-Clip AV stream). When the AV stream file is first recorded on the disc, this offset_SPN must be zero.

[0351] Referring to FIG. 48, when the beginning portion of the AV stream file is erased by editing, offset_SPN may assume a value other than 0. In the present embodiment, the relative source packet number (relative address) referencing the offset_SPN is frequently described in the form of RSPNxxx, where xxx is modified such that RSPN_xxx is RAPN_EP_start. The relative source packet number is sized with the source packet number as a unit and is counted from the first source packet number of the AV stream file with the value of the offset_SPN as the initial value.

[0352] The number of source packets from the first source packet of the AV stream file to the source packet referenced by the relative source packet number (SPN_xxx) is calculated by the following equation:

SPN_(—) xxx=RSPN_(—) xxx−offset_SPN.

[0353]FIG. 48 shows an instance in which offset_SPN is 4.

[0354] TS_recording_rate is a 24-bit unsigned integer, which affords an input/output bit rate required for the AV stream to the DVR drive (write unit 22) or from the DVR drive (readout unit 28). The record_time_and_date is a 56-bit field for storing the date and time of recording of the AV stream corresponding to the Clip and is an encoded representation of year/month/day/hour/minute in 4-bit binary coded decimal (BCD) for 14 numerical figures. For example, 2001/2/23:01:02:03 is encoded to “0×20011223010203”.

[0355] The duration is a 24-bit field indicating the total playback time of the Clip by hour/minute/second based on arrival time clocks. This field is six numerical figures encoded in 4-bit binary coded decimal (BCD). For example, 01:45:30 is encoded to “0×014530”.

[0356] A flag time_controlled_flag indicates the recording mode of an AV stream file. If this time_controlled_flag is 1, it indicates that the recording mode is such a mode in which the file size is proportionate to the time elapsed since recording, such that the condition shown by the following equation:

TS_average_rate*192/188*(t−start_time)−α<=size_clip(t)<=TS_average_rate*192/188*(t−start_time)+α

[0357] where TS_average_rate is an average bit rate of the transport stream of the AV stream file expressed by bytes/second.

[0358] In the above equation, t denotes the time in seconds, while start_time is the time point when the first source packet of the AV stream file was recorded. The size_clip(t) is 10*192 bytes and α is a constant dependent on TS_average_rate.

[0359] If time_controlled_flag is set to 0, it indicates that the recording mode is not controlling so that the time lapse of recording is proportionate to the file size of the AV stream. For example, the input transport stream is recorded in a transparent fashion.

[0360] If time_controlled_flag is set to 1, the 24-bit field of TS_average_rate indicates the value of TS_average_rate used in the above equation. If time_controlled_flag is set to 0, this field has no meaning and must be set to 0. For example, the variable bit rate transport stream is encoded by the following sequence: First, the transport rate is set to the value of TS_recording_rate. The video stream is encoded with a variable bit rate. The transport packet is intermittently encoded by not employing null packets.

[0361] The 32-bit field of RSPN_arrival_time_discontinuity is a relative address of a site where arrival timebase discontinuities are produced on the Bridge-Clip AV stream file. The RSPN_arrival_time_discontinuity is sized with the source packet number as a unit and is counted with the value of offset_SPN defined in the ClipInfo( ) as from the first source packet of the Bridge-Clip AV stream file. An absolute address in the Bridge-Clip AV stream file is calculated based on the aforementioned equation:

SPN_(—) xxx=RSPN_(—) xxx−offset_SPN.

[0362] The 144-bit field of reserver_for_system_use is reserved for a system. If is_format_identifier_valid flag is 1, it indicates that the field of format_identifier is effective. If is_format_identifier_valid flag is 1, it indicates that the format_identifier field is valid. If is_original_network_ID_valid flag is 1, it indicates that the field of is_transport_stream_ID-valid is valid. If the flag is_transport_stream_ID-valid is 1, it indicates that the transport_stream_ID field is valid. If is_servece_ID_valid flag is 1, it indicates that the servece_ID field is valid.

[0363] If is_country_code_valid flag is 1, it indicates that the field country_code is valid. The 32-bit field of format_identifier indicates the value of format_identifier owned by a registration descriptor (defined in ISO/IEC13818-1) in the transport stream. The 16-bit field of original_network_ID indicates the value of the original_network_ID defined in the transport stream.

[0364] The 16-bit field in servece_ID denotes the value of servece_ID defined in the transport stream. The 24-bit field of country_code shows a country code defined by ISO3166. Each character code is encoded by ISO8859-1. For example, Japan is represented as “JPN” and is encoded to “0×4A 0×50 0×4E”. The stream_format_name is 15 character codes of ISO-646 showing the name of a format organization affording stream definitions of transport streams. An invalid byte in this field has a value of ‘0×FF’.

[0365] Format_identifier, original_network_ID, transport_stream_ID, servece_ID, country_code and stream_format_name indicate service providers of transport streams. This allows to recognize encoding limitations on audio or video streams and stream definitions of private data streams other than audio video streams or SI (service information). These information can be used to check if the decoder is able to decode the stream. If such decoding is possible, the information may be used to initialize the decoder system before starting the decoding.

[0366] STC_Info is now explained. The time domain in the MPEG-2 transport stream not containing STC discontinuous points (discontinuous points of the system time base) is termed the STC_sequence. In the Clip, STC_sequence is specified by the value of STC_sequence_id. FIGS. 50A and 50B illustrate a continuous STC domain. The same STC values never appear in the same STC_sequence, although the maximum tine length of Clip is limited, as explained subsequently. Therefore, the same PTS values also never appear in the same STC_sequence. If the AV stream contains N STC discontinuous points, where N>0, the Clip system time base is split into (N+1) STC_sequences.

[0367] STC_Info stores the address of the site where STC discontinuities (system timebase discontinuities) are produced. As explained with reference to FIG. 51, the RSPN_STC_start indicates the address and begins at a time point of arrival of the source packet referenced by the (k+1)st RSPN_STC_start and ends at a time point of arrival of the last source packet.

[0368]FIG. 52 shows the syntax of the STC_Info. Turning to the syntax of STC_Info shown in FIG. 52, version_number is four character letters indicating the version number of STC_Info( ). The version_number must be encoded to “0045” in accordance with ISO 646.

[0369] Length is a 32-bit unsigned integer indicating the number of bytes of STC_Info( ) from directly after this length field to the end of STC_Info. If CPI_type of CPI( ) indicates TU_map type, 0 may be set in this length field. If CPI_type of CPI( ) indicates EP_map type, the num_of_STC_sequence mut be of a value not less than 1.

[0370] An 8-bit unsigned integer of num_of_STC_sequence indicates the number of sequences in the Clip. This value indicates the number of the for-loops next following the field. The STC_sequence_id corresponding to the preset STC_sequence is defined by the order in which appears the RSPN_STC_start corresponding to the STC_sequence in the for-loop containing the RSPN_STC_start. The STC_sequence_id commences at 0.

[0371] The 32-bit field of RSPN_STC_start indicates an address at which the STC_sequence commences on the AV stream file. RSPN_STC_start denotes an address where system time base discontinuities are produced in the AV stream file. The RSPN_STC_start may also be a relative address of the source packet having the first PCR of the new system time base in the AV stream. The RSPN_STC_start is of a size based on the source packet number and is counted from the first source packet of the AV stream file with the offset_SPN value defined in ClipInfo( ) as an initial value. In this AV stream file, the absolute address is calculated by the abovementioned equation, that is

SPN_(—) xxx=RSPN_(—) xxx−offset_SPN.

[0372] ProgramInfo in the syntax of zzzz.clip shown in FIG. 45 is now explained with reference to FIG. 53. The time domain having the following features in the Clip is termed program_sequence. These feature are that the value of PCR_PID is not changed, the number of audio elementary streams is also not changed, the PID values in the respective video streams are not changed, the encoding information which is defined by VideoCodingInfo thereof is not changed, the number of audio elementary streams is also not changed, the PID values of the respective audio streams are not changed, and that the encoding information, which is defined by AudioCodingInfo thereof, is not changed.

[0373] Program_sequence has only one system time base at the same time point. Program_sequence has a sole PMT at the same time point. ProgramInfo( ) stores the address of the site where the program_sequence commences. RSPN_program_sequence-start indicates the address.

[0374]FIG. 54 illustrates the syntax of ProgramInfo. Turning to the ProgramInfo shown in FIG. 54, version_number is four character letters indicating the version number of ProgramInfo( ). The version_number must be encoded to “0045” in accordance with ISO 646.

[0375] Length is a 32-bit unsigned integer indicating the number of bytes of ProgramInfo( ) from directly at back of this length field to the end of program(info( ). If CPI_type of CPI( ) indicates the TU_map type, this length field may be set to 0. If the CPI_type of CPI( ) indicates EP_map type, the number_of_programs must be of a value not less than 1.

[0376] An 8-bit unsigned integer of number_of_program_sequences denotes the number of program_sequences in the Clip. This value indicates the number of for-loops next following this field. If program_sequence in the Clip is not changed, 1 must be set in the number of program_sequences. A 32-bit field of RSPN_program_sequence_start is a relative address where the program sequence commences on the AV stream.

[0377] RSPN_program_sequence_start is sized with the source packet number as a unit and is counted with the value of offset_SPN defined in the ClipInfo( ) as from the first source packet of the AV stream file. An absolute address in the AV stream file is calculated by:

SPN_(—) xxx=RSPN_(—) xxx−offset_SPN.

[0378] The values of RSPN_program_sequence_start in the for-loop syntax must appear in the rising order.

[0379] A 16-bit field of PCR_PID denotes the PID of the transport packet containing an effective PCR field effective for the program_sequence. An 8-bit field of number_of_audios indicates the number of for-loops containing audio_stream_PID and AudioCodingInfo( ). A 16-bit field of video_stream_PID indicates the PID of the transport packet containing a video stream effective for its program_sequence. VideoCodingInfo( ), next following this field, must explain the contents of the video stream referenced by its video_stream_PID.

[0380] A 16-bit field of audio_stream_PID indicates the PID of a transport packet containing the audio stream effective for its program_sequence. The AudioCodingInfo( ), next following this field, must explain the contents of the video stream referenced by its audio_stream_PID.

[0381] The order in which the values of video_stream_PID in the for-loop of the syntax must be equal to the sequence of PID encoding of the video stream in the PMT effective for the program_sequence. Additionally, the order in which the values of audio_stream_PID appears in the for-loop of the syntax must be equal to the sequence of PID encoding of the audio stream in the PMT effective for the program_sequence.

[0382]FIG. 55 shows the syntax of VideoCodingInfo in the syntax of the ProgramInfo shown in FIG. 54. Turning to the syntax of the VideoCoding Info shown in FIG. 55, an 8-bit field of video_format indicates the video format corresponding to video_stream_PID in ProgramInfo( ), as shown in FIG. 56.

[0383] Referring to FIG. 57, an 8-bit field of frame_rate indicates the video frame rate corresponding to the video_stream_PID in ProgramInfo( ). An 8-bit field of display_aspect_ratio indicates a video display aspect ratio corresponding to video_stream_PID in ProgramInfo( ).

[0384]FIG. 59 shows the syntax of AudioCodingInfo in the syntax of ProgramInfo shown in FIG. 54. Turning to the syntax of the AudioCoding Info shown in FIG. 59, an 8-bit field of audio_format indicates the audio encoding method corresponding to audio_stream_PID in ProgramInfo( ), as shown in FIG. 60.

[0385] An 8-bit field of audio_component_type indicates an audio component type corresponding to audio_stream_PID in ProgramInfo( ) as shown in FIG. 61, whilst an 8-bit field of sampling_frequency indicates an audio sampling frequency corresponding to audio_stream_PID in ProgramInfo( ) as shown in FIG. 62.

[0386] The CPI (Characteristics Point Information) in the syntax of zzzzz.clip shown in FIG. 45 is explained. The CPI is used for correlating the time information in the AV stream with the address in its file. The CPI is of two types, namely EP_map and TU_map. In FIG. 63, if CPI_type in CPI( ) is EP_map, its CPI( ) contains EP_map. In FIG. 64, if CPI_type in CPI( ) is TU_map, its CPI( ) contains TU_map. One AV stream has one EP_map or one TU_map. If the AV stream is an SESF transport stream, the corresponding Clip must own an EP_map.

[0387]FIG. 65 show the syntax of CPI. Turning to the syntax of CPI shown in FIG. 65, the version_number is four character letters indicating the version number of this CPI( ). The version_number must be encoded to “0045” in accordance with ISO 646. Length is a 32-bit unsigned integer indicating the number of bytes as from directly after this length field to the trailing end of the CPI( ). The CPI_type is a 1-bit flag and indicates the CPI type of Clip, as shown in FIG. 66.

[0388] The EP_map in the CPI syntax shown in FIG. 65 is explained. There are two types of the EP_map, that is EP_map for a video stream and an EP_map for an audio stream. The EP_map_type in the EP_map differentiates between these EP_map types. If the Clip contains one or more video streams, the EP_map for the video stream must be used. If the Clip does not contain a video stream but contains one or more audio streams, the EP_map for the audio stream must be used.

[0389] The EP_map for a video stream is explained with reference to FIG. 67. The EP_map for the video stream has data stream_PID, PTS_EP_start and RSPN_EP_start. The stream_PID shows the PID of the transport packet transmitting a video stream. The PTS_EP_start indicates the PTS of an access unit beginning from the sequence header of the video stream. The RSPN_RP_start indicates the address of a source packet including the first byte of the access unit referenced by the PTS_EP_start in the AV stream.

[0390] A sub table, termed EP_map_for_one_stream_PID( ) is created from one video stream transmitted by the transport packet having the same PID to another. If plural video streams exist in the Clip, the EP_map may contain plural EP_map_for_one_stream_PID( ).

[0391] The EP_map for audio stream has data stream_PID, PTS_EP_start and RSPN_EP_start. The stream_PID shows a PID of a transport packet transmitting an audio stream. The PTS_EP_start shows the PTS of an accessing unit in the audio stream. The RSPN_EP-start indicates an address of a source packet containing a first byte of the access unit referenced by PTS_EP_start of the AV stream.

[0392] The sub table termed EP_map_for_one_stream_PID( ) is created from one audio stream transmitted by the transport packet having the same PID to another. If there exist plural audio streams in the Clip, EP_map may contain plural EP_map_for_one_stream_PID( ).

[0393] Turning to the relation between EP_map and STC_Info, one EP_map_for_one_stream_PID( ) is created in one table irrespective of discontinuous points in the STC. Comparison of the value of the RSPN_EP_start to the value of RSPN_STC_start defined in STC_Info( ) reveals the boundary of data of EP_map belonging to respective STC_sequences (see FIG. 68). The EP_map must have one EP_map_for_one_stream_PID for a continuous stream range transmitted by the same PID. In the case shown in FIG. 69, program#1 and program#3 have the same video PID, however, the data range is not continuous, so that EP_map_for_one_stream_PID must be provided for each program.

[0394]FIG. 70 shows the EP_map syntax. By way of explanation of the EP_map syntax shown in FIG. 70, the EP_type is a 4-bit field and shows the EP_map entry point type, as shown in FIG. 71. The EP_type shows the semantics of the data field next following this field. If Clip includes one or more video stream, the EP_type must be set to 0 (‘video’). Alternatively, if the Clip contains no video stream but contains one or more audio stream, then EP_type must be set to 1 (‘audio’).

[0395] The 16-bit field of number_of_stream_PIDs indicates the number of times of loops of the for-loop having number_of_stream_PIDs in the EP_map( ) as a variable. The 16-bit field of stream_PID(k) indicates the PID of the transport packet transmitting the number k elementary stream (video or audio stream) referenced by EP_map_for_one_stream_PID (num_EP_entries(k)). If EP_type is 0 (‘video’), its elementary stream must be a video stream. If EP_type is equal to 1 (‘audio’), its elementary stream must be the audio stream.

[0396] The 16-bit field of num_EP_entries(k) indicates the num_EP_entries(k) referenced by EP_map_entries(k)). The EP_map_for_one_stream_PID_Start_address(k): This 32-bit field indicates the relative address position at which the EP_map_for_one_stream_PID(num_EP_entries(k)) begins in the EP_map( ). This value is indicated by the size as from the first byte of the EP_map( ).

[0397] Padding_word must be inserted in accordance with the EP_map( ) syntax. X and Y must be optional positive integers. The respective padding words may assume any optional values.

[0398]FIG. 72 shows the syntax of EP_map_for_one_stream_PID. By way of explanation of the syntax of the EP_map_for_one_stream_PID shown in FIG. 72, the semantics of the 32-bit field of PTS_EP_start differs with the EP_type defined by EP_map( ). If EP_type is equal to 0 (‘video’), this field has upper 32 bits of the 33-bit precision PTS of the access unit beginning with a sequence header of the video stream. If the EP_type is equal to 1 (‘audio’), this field has upper 32 bits of PTS of 33 bit precision of the access unit of the audio stream.

[0399] The semantics of the 32-bit field of RSPN_EP_start differs with the EP_type defined in EP_map( ). If EP_type is equal to 0 (‘video’), this field indicates the relative address of the source packet including the first byte of the sequence header of the access unit referenced by the PTS_EP_start in the AV stream. Alternatively, if EP_type is equal to 1 (‘audio’), this field indicates the relative address of the source packet containing the first byte in the audio stream of the access unit referenced by the PTS_EP_start in the AV stream.

[0400] RSPN_EP_start is of a size which is based on the source packet number as a unit, and is counted from the first source packet of the AV stream file, with the value of the offset_SPN, defined in ClipInfo( ), as an initial value. The absolute address in the AV stream file is calculated by

SPN_(—) xxx=RSPN_(—) xxx−offset_SPN.

[0401] It is noted that the value of the RSPN_EP_start in the syntax must appear in the rising order.

[0402] The TU_map is now explained with reference to FIG. 73. TU_map forms a time axis based on the source packet arrival time clock (timepiece of the arrive time base). This time axis is termed TU_map_time_axis. The point of origin of TU_map_time_axis is indicated by offset_time in the TU_map( ). TU_map_time_axis is divided in a preset unit as from offset_time, this unit being termed time_unit.

[0403] In each time_unit in the AV stream, addresses on the AV stream file of the source packet in the first complete form are stored in TU_map. These addresses are termed RSPN_time_unit_start. The time at which begins the k(k≧0)th time_unit on the TU_map_time_axis is termed TU_start_time(k). This value is calculated based on the following equation:

TU_start_time(k)=offset_time+k*time_unit_size.

[0404] It is noted that TU_start_time(k) has a precision of 45 kHz.

[0405]FIG. 74 shows the syntax of TU_map. By way of explanation of the TU_map syntax shown in FIG. 74, the 32-bit field of offset_time gives an offset time relative to TU_map_time_axis. This value indicates the offset time relative to the first time_unit in the Clip. The offset_time is of a size based on 45 kHz clock derived from the 27 MHz precision arrival time clocks as unit. If the AV stream is to be recorded as new Clip, offset_time must be set to 0.

[0406] The 32-bit field of time_unit_size affords the size of the time_unit, and is based on 45 kHz clocks, derived from the 27 MHz precision arrival time clocks, as unit. Preferably, time_unit_size is not longer than one second (time_unit_size≦45000). The 32 bit field of number_of_time_unit_entries indicates the number of entries stored in TU_map( ).

[0407] The 32-bit field of RSN_time_unit_start indicates the relative address of a site in the AV stream at which begins each time_unit. RSN_time_unit_start is of a size based on the source packet number as unit and is counted with the value of offset_SPN defined in ClipInfo( ) as from the first source packet of the AV stream file as an initial value. The absolute address in the AV stream file is calculated by

SPN_(—) xxx=RSPN_(—) xxx−offset_SPN.

[0408] It is noted that the value of RSN_time_unit_start in the for-loop of the syntax must appear in the rising order. If there is no source packet in the number (k+1) time_unit, the number (k+1) RSN_time_unit_start must be equal to the number k RSPN_time_unit_start.

[0409] By way of explanation of the ClipMark in the syntax of zzzzz.clip shown in FIG. 45, the ClipMark is the mark information pertinent to clip and is stored in the ClipMark. This mark is not set by a user, but is set by a recorder (recording and/or reproducing apparatus 1).

[0410]FIG. 75 shows the ClipMark syntax. By way of explanation of the ClipMark syntax shown in FIG. 75, the version_number is four character letters indicating the version number of this ClipMark. The version_number must be encoded in accordance with ISO 646 to “0045”.

[0411] Length is a 32-bit unsigned integer indicating the number of bytes of the ClipMark( ) as from directly after the length field to the trailing end of ClipMark( ). The number_of_Clip_marks is a 16-bit unsigned integer indicating the number of marks stored in ClipMark and may be equal to 0. Mark_type is an 8-bit field indicating the mark type and is encoded in accordance with the table shown in FIG. 76.

[0412] Mark_time_stamp is a 32-bit field and stores the time stamp indicating a pointer having a specified mark. The semantics of mark_time_stamp differs with CPI_type in the PlayList( ), as shown in FIG. 77.

[0413] If CPI_type in CPI( ) indicates the EP_map type, this 8-bit field indicates the STC_sequence_id of the continuous STC domain where there is placed mark_time_stamp. If CPI_type in CPI( ) indicates TU_map type, this 8-bit field has no meaning but is set to 0. The 8-bit field of Character_set indicates the indicating method of character letters encoded in the mark_name field. The encoding method corresponds to the value shown in FIG. 19.

[0414] The 8-bit field of name_length indicates the byte length of the mark name shown in the mark_name field. This mark_name field indicates the mark name. The byte number corresponding to the number of the name_length from left of this field is the effective character number and denotes the mark name. In the mark_name field, the values next following these effective character letters may be arbitrary.

[0415] The field of ref_thumbnail_index indicates the information of the thumbnail picture appended to the mark. If the ref_thumbnail_index field is of a value different from 0×FFFF, a thumbnail picture is added to its mark, with the thumbnail picture being stored in the mark.thumb file. This picture is referenced using the value of ref_thumbnail_index in the mark.thumb file. If the ref_thumbnail_index field is of a value equal to 0×FFFF, a thumbnail picture is not appended to its mark.

[0416]FIG. 78 shows another syntax of ClipMark which takes the place of FIG. 75. FIG. 79 shows a typical table of mark_type which takes the place of FIG. 76 in such case. Reserved_for_maker_ID is a 16-bit field indicating the maker ID of the maker which, if mark_type indicates a value from 0×C0 to 0XFF, defines the mark_type. The maker ID is specified by a DVR format licensor. Mark_entry( ) is the information indicating the point specified to a mark point. The syntax will be explained subsequently in detail. Representative_picture_entry is the information indicating the point of the information representative to the mark shown by mark_entry( ). The syntax of representative_picture_entry will be explained subsequently in detail.

[0417] ClipMark is used in order to enable a user reproducing an AV stream to retrieve the contents visually. A DVR player uses a GUI (graphical user interface) to present the ClipMark information to the user. For visual display of the ClipMark information, a picture indicated by representative_picture_entry( ), rather than the picture indicated by mark_entry( ), is to be indicated.

[0418]FIG. 80 shows examples of mark_entry( ) and representative_picture_entry. It is assumed that a program name (title) of a certain program is displayed after some time, such as several seconds, as from the start of such program. If ClipMark is to be created, mark_entry( ) may be put at a start point of the program, with the representative_picture_entry( ) then being put at a point of display of the program name (title) of the program.

[0419] If the picture of representative_picture_entry is displayed on the GUI and the user has specified the picture, the DVR player starts replay as from the point where mark_entry is put.

[0420]FIG. 81 shows the syntax of mark_entry( ) and representative_picture_entry( ).

[0421] Mark_time_stamp is a 32-bit field and stores a time stamp indicating a point specified by the mark and a time stamp indicating a point of a picture representing a mark specified by mark_entry( ).

[0422]FIG. 82 shows a typical syntax of mark_entry( ) and representative_picture_entry( ) in case of employing the address based information rather than employing the information of the time stamp base by the PTS.

[0423] In case of mark_entry( ), RSPN_ref_EP_start indicates the relative address of a source packet indicating the entry point of a stream for decoding a picture of a mark point in the AV stream. In case of representative_picture_entry( ), RSPN_ref_EP_start indicates the relative address of a source packet indicating the entry point of a stream for decoding a picture representative of a mark indicated by mark_entry( ). The value of RSPN_ref_EP_start must be stored in the EP_map as RSPN_ref_EP_start. Moreover, the value of PTS_EP_start corresponding to the RSPN_EP_start must be closest in the EP_map in the past as from the PTS of the mark point picture.

[0424] Offset_nm_pictures is a 32-bit field and indicates the number of pictures of offset from the picture referenced by RSPN_ref_EP_start to the picture indicated by the mark point in the display sequence. This number is counted from 0. In the case of the embodiment of FIG. 83, offset_nm_pictures is 6.

[0425]FIG. 84 shows another typical syntax of mark_entry( ) and representative_picture_entry( ) in case of employing the address based information for specifying ClipMark.

[0426] In case of mark_entry( ), RSPN_mark_point indicates the relative address of the source packet including the first byte of the access unit referenced by the mark in the AV stream. In case of representative_picture_entry( ), RSPN_mark_point indicates the relative address of the source packet including the first byte of the encoded picture representative of the mark indicated by the mark_entry( ).

[0427] RSPN_mark_point is of a size having the source packet number as a unit and is counted using the value of offset_SPN defined in the Clip Information file from the first source packet of the AV stream file.

[0428] Referring to FIG. 85, the relation between ClipMark and EP_map is explained. In the present embodiment, it is assumed that EP_map specifies I0, I1 and In as addresses of the entry point, and that the an I-picture continuing to the sequence header from these addresses is started. If ClipMark specifies M1 as an address of a certain mark, and if the picture beginning from this source packet is to be decodable, it suffices if data readout is initiated from I1 as an entry point ahead of and closest to the M1 address.

[0429] MakerPrivateData has already been explained with reference to FIG. 22 and hence is not explained here specifically.

[0430] Next, thumbnail_information is explained. A thumbnail picture is stored in a menu.thmb file or in a mark.thmb file. These files are of the same syntax structure and own a sole Thumbnail( ). The menu.thmb file stores a picture representing respective PlatyLists. The totality of menu thumbnails are stored in the sole menu.thmb file.

[0431] The mark.thmb file stores a mark thumbnail picture, that is a picture representing a mark point. The totality of mark thumbnails corresponding to the totality of PlayLists and Clips are stored in the sole mark.thmb file. Since the thumbnails are frequently added or deleted, the operation of addition and partial deletion must be executable readily and speedily. For this reason, Thmbnail( ) has a block structure. Picture data is divided into plural portions each of which is stored in one tn_block. One picture data is stored in consecutive tn_blocks. In the string of tn_blocks, there may exist a tn_block not in use. The byte length of a sole thumbnail picture is variable.

[0432]FIG. 86 shows the syntax of the menu.thmb file and the mark.thmb file, whilst FIG. 87 shows the syntax of the thumbnail syntax in the syntax of the menu.thmb file and the mark.thmb file. By way of explanation of the Thmbnail syntax shown in FIG. 87, the version_number is the four character letters indicating the version number of this Thumbnail( ). The version_number must be encoded to “0045” in accordance with ISO 646.

[0433] Length is a 32-bit unsigned integer indicating the number of bytes of makers_private_data as from directly after the length field to the trailing end of Thumbnail( ). Tn_block_start_address is a 32-bit unsigned integer indicating the leading byte address of the first tn_block, with the number of relative bytes as from the leading byte of Thumbnail( ) as unit. The number of relative bytes is counted from 0. Number_of_thumbnails is a 16-bit unsigned integer affording the number of entries of the thumbnail picture contained in the Thumbnail( ).

[0434] Tn_block_size is a 16-bit unsigned integer affording one tn_block size with 1024 bytes as unit. For example, if tn_block_size=1, it indicates that the size of one tn_block is 1024 bytes. Number_of_tn_blocks is a 16-bit unsigned integer representing the number of entries of tn_blocks in the Thumbnail( ). Thumbnail_index is a 16-bit unsigned integer representing the index number of a thumbnail picture represented by the thumbnail information corresponding to one for-loop beginning from this thumbnail_index field. The value of 0×FFFF must not be used as thumbnail_index. The thumbnail_index is referenced by ref_thumbnail_index in the UIAppInfVolume( ), UIAppInfoPlayList( ), PlayListMark( ) and ClipMark( ).

[0435] Thumbnail_picture_format is an 8-bit unsigned integer representing the picture format of a thumbnail picture and assumes a value shown in FIG. 88. In the table, DCF and PNG are allowed only in “menu_thumb”. The mark thumbnail must assume a value “0×00” (MPEG-2 Video I-picture).

[0436] Picture_data_size is a 32-bit unsigned integer indicating the byte length of a thumbnail picture in terms of a byte as a unit. Start_tn_block_number is a 16-bit unsigned integer indicating the tn_block number of the tn_block where begins the thumbnail picture data. The leading end of the thumbnail picture data must be coincident with the leading end of tn_block. The tn_block number begins with 0 and is relevant to the value of a variable k in the for-loop in tn_block.

[0437] X_picture_length is a 16-bit unsigned integer representing the number of pixels in the horizontal direction of a frame picture of the thumbnail picture. Y_picture_length is a 16-bit unsigned integer representing the number of pixels in the vertical direction of a frame picture of the thumbnail picture. Tn_block is an area in which a thumbnail picture is stored. The totality of tn_blocks in Thumbnail( ) are of the same size (fixed length) and are defined in size by tn_block_size.

[0438]FIGS. 89A and 89B schematically show how thumbnail picture data are stored in tn_block. As shown in FIGS. 89A and 89B, the respective thumbnail picture data begin from the leading end of tn_block and, if the picture data are of a size exceeding tn_block, the next consecutive tn_block is used for storage. By so doing, picture data with a variable size may be managed as fixed length data such that editing such as deletion can be coped with by a simpler processing operation.

[0439] An AV stream file is now explained. The AV stream file is stored in “M2TS” directory (FIG. 14). There are two types of the AV stream files, one being a CLIP AV stream and the other being a Bridge-Clip AV stream. Both streams must be of a DVR MPEG-2 transport stream file structure as hereinafter defined.

[0440] First, the DVR MPEG-2 transport stream is explained. The structure of DVR MPEG-2 transport stream is as shown in FIG. 90. The AV stream file has the structure of a DVR MPEG-2 transport stream constructed by an integer number of Aligned units. The Aligned unit has a size of 6144 bytes (=2048×3 bytes). The Aligned unit begins at the first byte of the source packet having a length of 192 bytes. One source packet is made up of TP_extra_header and a transport packet. The TP_extra_header is 4 bytes long, with the transport packet being 188 bytes long.

[0441] One Aligned unit is made up of 32 source packets. The last Aligned unit in the DVR MPEG-2 transport stream is also made up of 32 source packets. So, the DVR MPEG-2 transport stream ends at a boundary of the Aligned unit. If the number of the transport packets of the input transport stream recorded on the disc is not a multiple of 32, the source packet having a null packet (transport packet of PID=0×1FFF) must be used as the last Aligned unit. The file system is not allowed to add redundant information to the DVR MPEG-2 transport stream.

[0442]FIG. 91 shows a recorder model of the DVR MPEG-2 transport stream. The recorder shown in FIG. 91 is a conceptual model for prescribing a recording model. The DVR MPEG-2 transport stream follows this model.

[0443] The input timing of the MPEG-2 transport stream is explained. The input MPEG-2 transport stream is a full transport stream or a partial transport stream. The input MPEG-2 transport stream must obey the ISO/IEC13818-1 or ISO/IEC13818-9. The number i byte of the MPEG-2 transport stream is input at time t(i) simultaneously to both a T-STD Transport stream system target decoder as provided in ISO/IEC 13818-1) 51 and a source packetizer 54. Rpk is an instantaneous maximum value of the input rate of the transport packet.

[0444] A 27 MHz PLL52 generates a frequency of 27 MHz clocks. The frequency of 27 MHz clocks is locked at a value of PCR (program clock reference) of the MPEG-2 transport stream. An arrival time lock counter 53 is a binary counter counting pulses of the frequency of 27 MHz. The arrival_time_clock(i) is a count value of the arrival time clock counter 53 at time t(i).

[0445] The source packetizer 54 appends TP_extra_header to the totality of transport packets to create a source packet. Arrival_time_stamp indicates the time at which the first byte of the transport packet arrives at both the T-STD 51 and the source packetizer 54. Arrival_time_stamp(k) is a sample value of the arrival_time_clock(k), as indicating by the following equation:

arrival_time_clock(k)=arrival_time_clock(k) % 230

[0446] where k indicates the first byte of the transport packet.

[0447] If the time interval of two consecutively input transport packets amounts to not less than 230/27000000 sec (about 40 sec), the difference between the arrival_time_clock(k) of the two transport packets should be set to 230/27000000 sec. The recorder is provided for such case.

[0448] A smoothing buffer 55 smooths the bitrate of the input transport stream. Th smoothing buffer 55 is not allowed to overflow. Rmax is an output bitrate of a source packet from the smoothing buffer 55 when the smoothing buffer 55 is not void. If the smoothing buffer 55 is void, an output bitrate of the smoothing buffer 55 is 0.

[0449] The parameters of a recorder model of the DVR MPEG-2 transport stream are hereinafter explained. The value of Rmax is given by TS_recording_rate defined in ClipInfo( ) associated with the AV stream file. This value may be calculated in accordance with the following equation:

Rmax=TS_recording_rate*192/188

[0450] where the value of TS_recording_rate is of a size based in bytes/second as unit.

[0451] If the input transport stream is an SESF transport stream, Rpk must be equal to TS_recording_rate as defined in ClipInfo( ) associated with the AV stream file. If the input transport stream is not an SESF transport stream, the values defined in descriptors of the MPEG-2 transport stream, such as smoothing_buffer_descriptor, short_smoothing_bugger_descriptor or partial_transport_stream_descriptor, may be referenced as to the size of the smoothing buffer 55.

[0452] If the input transport stream is an SESF transport stream, the size of the smoothing buffer 55 (smoothing buffer size) is zero. If the input transport stream is not an SESF transport stream, the values defined in descriptors of the MPEG-2 transport stream, such as smoothing_buffer_descriptor, short_smoothing_bugger_descriptor or partial_transport_stream_descriptor, may be referenced as to the size of the smoothing buffer 55.

[0453] For a recorder and a reproducing unit, a buffer of a sufficient size needs to be used. The default buffer size is 1536 bytes.

[0454] A player model of the DVR MPEG-2 transport stream is now explained. FIG. 92 shows a player model of the DVR MPEG-2 transport stream. This is a conceptual model for prescribing the replay process. The DVR MPEG-2 transport stream obeys this model.

[0455] A 27 MHz X-tal (crystal oscillator) 61 generates a 27 MHz frequency. The error range of the 27 MHz frequency must be ±30 ppm (27000000±810 Hz). An arrival time clock counter 62 is a binary counter counting pulses of 27 MHz. Arrival_time_clock(i) is a count value of the arrival time clock counter 62 at time t(i).

[0456] In the smoothing buffer 64, Rmax is an input bitrate of a source packet to the smoothing buffer 64 when the smoothing buffer 64 is not full. If the smoothing buffer 64 is full, the input bitrate to the smoothing buffer 64 is 0.

[0457] By way of explaining the output timing of the MPEG-2 transport stream, if arrival_time_stamp of the current source packet is equal to the value of the 30 LSB bits of arrival_time_clock(i), the transport packet of the source packet is extracted from the smoothing buffer 64. Ppk is an instantaneous maximum value of the transport packet rate. The smoothing buffer 64 is not allowed to overflow.

[0458] The parameters of the player model of the DVR MPEG-2 transport stream are the same as the parameters of the recorder model of the above-described DVR MPEG-2 transport stream.

[0459]FIG. 93 shows the syntax of the Source packets, while transport_packet( ) is an MPEG-2 transport packet as prescribed in ISO/IEC 13818-1. FIG. 94 shows a TP_extra_header in the syntax of the source packet shown in FIG. 93. By way of explaining the syntax of the TP_extra_header shown in FIG. 94, copy_permission_indicator is an integer representing copy limitations of the payload of the transport packet. The copy limitations may be set to copy free, no more copy, copy once or copy prohibited. FIG. 95 shows the relation between the values of copy_permission_indicator and the modes these values represent.

[0460] Copy_permission_indicator is appended to the totality of transport packets. If an input transport stream is to be recorded using the IEEE1394 digital interface, the value of copy_permission_indicator may be correlated with the value of EMI (encryption mode indicator) in the IEEE1394 isochronous packet header. If the input transport stream is recorded without using the IEEE1394 digital interface, the value of copy_permission_indicator may be correlated with the value of the CCI embedded in the transport packet. In self-encoding an analog signal input, the value of the copy_permission_indicator may be correlated with the value of CGMS-A of the analog signal.

[0461] It is noted that arrival_time_stamp is an integer value specified by arrival_time_stamp in the following equation:

arrival_time_stamp(k)=arrival_time_clock(k) % 230.

[0462] In defining a Clip AV stream, the Clip AV stream must have the structure of the DVR MPEG-2 transport stream defined as described above. Arrival_time_clock(i) must increase continuously in a Clip AV stream. If a discontinuous point of the system time base (STC base) should exist in the Clip AV stream, the arrival_time_clock(i) of the Clip AV stream must increase continuously.

[0463] The maximum value of the difference of the arrival_time_clock(i) between the beginning and the end in the Clip AV stream must be 26 hours. This limitation guarantees that, if there is no discontinuous point of the system time base (STC base) in the MPEG-2 transport stream, no PTS (presentation time stamp) of the same value never appears in the Clip AV stream. The MPEG2 system standards provide that the wraparound time of PTS be 233/90000 sec (approximately 26.5 hours).

[0464] In defining the Bridge-Clip AV stream, the Bridge-Clip AV stream must have a structure of a DVR MPEG-2 transport stream defined as described above. The Bridge-Clip AV stream must include one arrival time base discontinuous point. The transport stream ahead and at back of the arrival time base discontinuous point must obey the limitations on encoding as later explained and also must obey the DVR-STD as later explained.

[0465] The present embodiment provides for seamless support of the seamless connection of the video and audio between PlayItems in editing. This seamless connection between the PlayItems guarantees the “continuous data supply” to the player/recorder and “seamless decoding”. The “continuous data supply” means the capability of a file system in assuring data supply to a decoder at a bitrate necessary for prohibiting buffer underflow. The “continuous data supply” assures data storage continuously in terms of a block of a sufficient size to assure real-time properties and data readout from the disc as a unit.

[0466] The “seamless decoding” means the capability of the player in demonstrating audio/video data recorded on the disc without producing pause or gap in the decoder replay output.

[0467] The AV stream referenced by the seamlessly connected PlayItem is explained. Whether or not the connection between the previous PlayItem and the current PlayItem is guaranteed to enable seamless display can be verified from the connection_condition field defined in the current PlayItem. There are a method for seamless connection between PlayItems employing Bridge-Clip and a method for seamless connection between PlayItems not employing Bridge-Clip.

[0468]FIG. 96 shows the relation between the previous PlayItem and the current PlayItem. FIG. 96 shows TSI made up of a shaded stream data of Clip1 (Clip AV stream) and shaded stream data previous to RSPN_arrival_time_discontinuity of Bridge-Clip.

[0469] The shaded stream data of Clip1 of TSI is stream data from an address of a stream necessary for decoding a presentation unit associated with IN_time of the previous PlayItem (shown by IN_time in FIG. 96) to a source packet referenced by RSPN_exit_from_previous_Clip. The shaded stream data previous to RSPN_arrival_time_discontinuity contained in TSI is stream data from the first source packet of Bridge-clip to a source packet referenced by RSPN_arrival_time_discontinuity.

[0470] On the other hand, TS2 in FIG. 96 is made up of shaded stream data of Clip2 (Clip AV stream) and shaded stream data subsequent to PN_arrival_time_discontinuity of Bridge-Clip. The shaded stream data subsequent to RSPN_arrival_time_discontinuity of Bridge-Clip contained in TS2 is stream data from the source packet referenced by RSPN_enter_to_current_Clip to an address of a stream required fir decoding the presentation unit associated with OUT_time of the current PlayItem (shown in OUT_time2 in FIG. 96).

[0471]FIG. 97 shows the relation between the previous PlayItem and the current PlayItem in case of not employing Bridge-Clip. In this case, the stream data read out from the player is shown shaded. In FIG. 97, TS1 the shaded stream data of TS1 is data beginning from the address of a stream necessary for decoding the presentation unit associated with IN_time of previous PlayItem (shown with IN_time1 in FIG. 97) and extending up to the last source packet of Clip1. On the other hand, TS2 in FIG. 97 is comprised of shaded stream data of Clip2 (Clip AV stream).

[0472] The shaded stream data of Clip2 of TS2 is stream data beginning at a first source packet of Clip2 and ending at an address of a stream necessary for decoding the presentation unit associated with the OUT_time of the current PlayItem (shown OUT_time2 in FIG. 97).

[0473] In FIGS. 96 and 97, TS1 and T2 are continuous streams of source packets. Next, stream prescriptions of TS1 and TS2 and connection conditions therebetween are considered. As a limitation of the encoding structure of the transport stream, the number of video streams contained in TS1 and TS2 must be 1. The number of audio streams contained in TS1 and TS2 must be 2 or less. The numbers of audio streams contained in TS1 and TS2 must be equal to each other. It is noted that TS1 and/or TS2 may contain an elementary stream or a private stream other than those mentioned above.

[0474] Limitations on a video bitstream are now explained. FIG. 98 shows an instance of seamless connection shown in the picture display sequence. In order that a video stream may be represented seamlessly, unneeded pictures represented at back of OUT_time (OUT_time of Clip1) and ahead of the IN_time2 (IN_time of Clip2) must be removed by a process of re-encoding a partial stream of the Clip near a junction point.

[0475]FIG. 99 shows an instance of realizing seamless connection using BridgeSequence in the case shown in FIG. 98. The video stream of Bridge-Clip previous to RSPN_arrival_time_discontinuity is made up of encoded video streams up to the picture associated with the OUT_time1 of Clip1 of FIG. 98. This video stream is connected to the video stream of the previous Clip1 and is re-encoded so as to prove one continuous elementary stream conforming to the MPEG2 standard.

[0476] In similar manner, the video stream of Bridge-Clip subsequent to RSPN_arrival_time_discontinuity is made up of an encoded video stream as from a picture corresponding to IN_time2 of Clip2 of FIG. 98. The video stream can start decoding correctly, is connected to the video stream of the next following Clip2 and is re-encoded so as to become one continuous elementary stream conforming to MPEG2 standard. For creating Bridge_Clip, several pictures in general need to be re-encoded, while other pictures can be copied from the original clip.

[0477]FIG. 100 shows a case of realizing seamless connection without using BridgeSequence in the case of the embodiment shown in FIG. 98. The video stream of Clip1 is made up of an encoded video stream up to a picture associated with OUT_time1 of FIG. 98, this being re-encoded so as to become one continuous elementary stream conforming to MPEG2 standard. Similarly, the video stream of Clip2 is comprised of an encoded video stream subsequent to the picture associated with the IN-time2 of Clip2 of FIG. 98, this being re-encoded so as to become one continuous elementary stream conforming to MPEG2 standard.

[0478] By way of explaining encoding limitation of the video stream, the frame rate of TS1 and TS2 video streams must be equal to each other. The TS1 video stream must end in sequence_end_code, while the TS2 video stream must start in sequence_header, GOP header and in an I-picture. The TS2 video stream must start in closed GOP.

[0479] The video presentation unit (frame or field) as defined in a bitstream must be continuous with a junction point in-between. At the junction point, the top/bottom field sequence must be continuous. In the case of encoding employing the 3-2 pulldown, it may be necessary to rewrite “top_field_first” and “repeat_first_field”, while local re-encoding may also be made to prevent occurrence of a field gap.

[0480] By way of explaining encoding limitations on an audio bitstream, the audio sampling frequency of TS1 and that of TS2 must be equal to each other. The audio encoding method, such as MPEG1 layer 2, AC-3, SESF, LPCM and AAC of TS1 and TS2 must be equal to each other.

[0481] By way of explaining coding limitations on the MPEG-2 transport stream, the last audio frame of the TS1 audio stream must contain an audio sample having a display time equal to that at display end time of the display picture of TS1. The first audio frame of TS2 audio stream must contain an audio sample equal to that at display start time of the first display picture of TS2.

[0482] At a junction point, there must not be a gap in the sequence of the audio presentation unit. As shown in FIG. 101, there may be an overlap defined by the length of the audio presentation unit not larger than two audio frame domain. The first packet transmitting the TS2 elementary stream must be a video packet. The transport stream at the junction point must obey the DVR-STD which will be explained subsequently.

[0483] By way of explaining the limitations of Clip and Bridge-Clip, TS1 and TS2 must not contain discontinuous points of the arrival time base therein.

[0484] The following limitations are applied only to the case of using Bridge-Clip. The Bridge_Clip AV stream has only one arrival time base discontinuous point at a junction point between the last source packet of TS1 and the first source packet of TS2. The RSPN_arrival_time_discontinuity as defined in Clip Info( ) must indicate an address of the discontinuous point which in turn must indicate the address referencing the first source packet of TS2.

[0485] The source packet referenced by the RSPN_exit_from_previous_Clip as defined in BridgeSequenceInfo( ) may be any source packet in the Clip. It is unnecessary for this source packet to be a boundary of the Aligned unit. The source packet referenced by the RSPN_exit_from_current_Clip as defined in BridgeSequenceInfo( ) may be any source packet in the Clip. It is unnecessary for this source packet to be a boundary of the Aligned unit.

[0486] By way of explaining limitations on the PlayItem, the OUT_time of previous PlayItem (OUT_time 1 shown in FIGS. 96 and 97) mist indicate the display end time of the last presentation unit of TS1. The IN_time of the current PlayItem (IN_time2 shown in FIGS. 96 and 97) must indicate the display start time of the first video presentation unit of TS2.

[0487] By way of explaining the limitations on data allocation in using the Bridge-Clip with reference to FIG. 102, seamless connection must be created such as to guarantee continuous data supply by the file system. This must be done by arraying the Bridge-Clip AV stream, connected to the Clip1 (Clip AV stream file) and Clip2 (Clip AV stream file), such as to satisfy the data allocation prescriptions.

[0488] The RSPN_exit_from_previous_Clip must be selected so that the stream portion of the Clip1 (Clip AV stream file) previous to RSPN_exit_from_previous_Clip (Clip AV stream file) will be arrayed in a continuous area not smaller than one-half fragment. The data length of the Bridge-Clip AV stream must be selected so as to be arrayed in a continuous area not smaller than one-half fragment. RSPN_enter_to_current_Clip must be selected so that the stream portion of Clip2 (Clip AV stream file) subsequent to PN_enter_to_current_Clip is arrayed in a continuous area not smaller than one-half fragment.

[0489] By way of explaining the limitations of data allocation in case of seamless connection without using Bridge-Clip, seamless connection must be created so that continuous data supply will be guaranteed y the file system. This must be carried out by arraying the first portion of last portion of the Clip1 (Clip AV stream file) and the first portion of Clip2 (Clip AV stream file) such as to meet the data allocation prescriptions.

[0490] The first stream portion of Clip1 (Clip AV stream file) must be arranged in a continuous area not shorter than one half fragment. The first stream portion of Clip2 (AV stream file) must be arranged in a continuous area not smaller than one half fragment.

[0491] Next, the DVR-STD is explained. The DVR-STD is a conceptual model for modeling the decoding processing in generating and verifying the DVR MPEG-2 transport stream. On the other hand, the DVR-STD is a conceptual model for modeling the decoding processing in generating and verifying the AV stream referenced by two PlayItems connected seamlessly as described above.

[0492]FIG. 104 shows a DVR-STD model. The model shown in FIG. 104 contains, as a constituent element, a DVR MPEG-2 transport stream player model. The notation such as n, Tbn, Mbn, Ebn, Tbsys, Bsys, Rxn, Rbxn, Rxsys, Dn, Dsys, On and Pn(k) are the same as those defined in T-STD of ISO/IEC138188-1. That is, n is an index number of an elementary stream and Tbn is a transport buffer of an elementary stream n.

[0493] Mbn is a multiplex buffer of the elementary stream n, and is present only in a video stream. Ebn is an elementary stream buffer in the elementary stream n. It is present only for the video stream. Tbsys is an input buffer for the system information in a program being decoded. Bsys is a main buffer in a system target decoder for the system information for a program being decoded. Rbxn is a transmission rate with which data is removed from Mbn and is present only for a video stream.

[0494] Rxsys is a transmission rate with which data is removed from Tbsys. Dn is a decoder in an elementary stream n. Dsys is s decoder pertinent to the system information of a program being decoded. On is a re-ordering buffer in a video stream. Pn(k) is a number k presentation unit in the elementary stream n.

[0495] The decoding process for DVR-STD is explained. During the time a sole DVR MPEG-2 transport stream is being reproduced, the timing the transport packet is input to the Tbsys buffer is determined by the arrival_time_stamp of the source packet. The prescriptions for the decoding operation and the display operation are the same as those prescribed in ISO/IEC 13818-1.

[0496] The decoding process while the seamlessly connected PlayItem is being reproduced is explained. Here, reproduction of two AV streams, referenced by the seamlessly connected PlayItem, is explained. In the following explanation, the reproduction of the aforementioned TS1 And TS2, shown for example in FIG. 96, is explained. Meanwhile, TS1 and TS2 are a previous stream and a current stream, respectively.

[0497]FIG. 105 shows a timing diagram for inputting, decoding and displaying a transport packet when transferring from a given AV stream (TS1) to the next AV stream (TS2) seamlessly connected thereto. During the time of transferring from a preset AV stream (TS1) to the next AV stream (TS2), connected seamlessly thereto, the time axis of the arrival time base of TS2 (indicated STC2 in FIG. 105) is not the same as the time axis of the arrival time base of TS1 (indicated STC1 in FIG. 105).

[0498] Moreover, the time axis of the system time base of TS2 (indicated STC2 in FIG. 105) is not the same as the time axis of the system time base of TS1 (indicated STC1 in FIG. 105). Video display is required to be seamlessly contiguous, while there may be overlap in the display time of the audio presentation unit.

[0499] The input timing to the DVR-STD is explained. Until the time T1, that is the time until the last video packet of TS1 is completely input to the TB1 of DVR-STD, the input timing to the TB1, Tbn or TBsys of DVR-STD is determined by the arrival_time_stamp of the source packet of TS1.

[0500] The remaining packet of TS1 must be input to the buffer of Tbn or Tbsys at a bitrate of TS_recording_rate (TS1), where TS_recording_rate (TS1) is a value of the TS_recording_rate defined in the ClipInfo( ) associated with the Clip1. The time the last byte of TS1 is input to the buffer is the time T2. Thus, in the domain from time T1 until time T2, arrival_time_stamp of the source packet is discounted.

[0501] If N1 is the number of bytes of the transport packet next following the last video packet of TS1, the time DT1 from time T1 until time DT1 is the time required for N1 bytes to be completely input at a bitrate of TS_recording_rate (TS1), and is calculated in accordance with the following equation:

DT1=T2−T1=N1/TS_recording_rate (TS1).

[0502] During the time as from T1 until T2, the values of Rxn and Rxsys are both changed to the value of TS_recording_rate (TS1). The buffering operation other than this rule are the same as that of the T-STD.

[0503] At time T2, the arrival time clock counter is reset to the value of arrival_time_stamp of the first source packet of TS2. The input timing of the TB1, Tbn or TBsys to the DVR-STD is determined by the arrival_time_stamp of the source packet of TS2. The Rxn and Rxsys are both changed to values defined in T-STD.

[0504] By way of explaining additional audio buffering and system data buffering, the audio decoder and the system decoder are required to have a surplus buffer quantity (approximately one second equivalent data volume) in addition to the buffer volume defined in T-STD.

[0505] By way of explaining the video presentation timing, display of the video presentation unit must be contiguous, via junction, in a manner free of gap. It is noted that STC1 is the time axis of the TS1 system time base (shown as STC1 in FIG. 105), while STC2 is the time axis of the TS2 system time base (shown as STC2 in FIG. 97). More accurately, STC2 begins at a time point the first PCR is input to T-STD.

[0506] The offset between STC1 and STC2 is determined as follows: If PTS1end is a PTS on STC1 associated with the last video presentation unit of TS1, and PTS2start is PTS on STC2 associated with the first video presentation unit of TS2, while Tpp is the display period of the last video presentation unit of TS1, the offset STC_delta between two system time bases may be calculated in accordance with the following equation:

STC_delta=PTS1end+Tpp−PTS2start.

[0507] By way of explaining the audio presentation, there may be overlap of display timing of audio presentation unit, which overlap may be 0 to less than 2 audio frames (see “audio overlap” shown in FIG. 105). Which audio sample should be selected and re-synchronization of the display of the audio presentation unit to corrected time base at back of the junction point are set on the player.

[0508] By way of explaining the system time clocks of DVR-STD, the last audio presentation unit of TS1 is displayed at time T5. The system time clocks may be overlapped with between time T2 and time T5. During this domain, DVR-STD is switched between the old time base value (STC1) and t the new time base value (STC2). The value of STC2 may be calculated in accordance with the following equation:

STC2=STC1−STC_delta.

[0509] The buffering continuity is explained. STC1video_end is the value of STC on the system time base STC1 when the last byte of the last video packet of TS1 reaches TB1 of DVR-STD, while STC2video_end is a value calculated into a value on the system time base STC2. The STC2video_end is calculated by the following equation:

STC2video_end=STC1video_end−STC_delta.

[0510] In order that the DVR-STD will be obeyed, the following two conditions are required. First, the timing of arrival of the first byte of the first video packet of TS2 at the TB1 of the DVR-STD must satisfy the following inequality:

STC22video_start>STC21video_end+ΔT1.

[0511] If, in order that the inequality be met, the partial stream of Clip1 and/or Clip2 is to be re-encoded and/or re-multiplexed, it is carried out as necessary.

[0512] Next, on the time axis of the system time base in which STC1 and STC2 are converted on the same time axis, input of video packets from TS1 and the next following video packet input from TS2 must not overflow nor underflow the video buffer.

[0513] Based on this syntax, data structure and rule, contents of data recorded on the recording medium or the replay information can be managed properly such that the user is able to confirm the contents of data properly recorded on the recording medium or reproduce desired data readily.

[0514] Although the present embodiment is explained taking the MPEG-2 transport stream as a multiplexed stream as an example, this is merely exemplary such that the present embodiment may be applied to a MPEG2 program stream or to a DSS transport stream used in DirecTV service (trademark) of USA.

[0515] The processing of locating reproduction of a scene represented by a mark point in case the syntax of mark_entry( ) and representative_picture_entry( ) is configured as shown in FIG. 81 is explained with reference to the flowchart of FIG. 106.

[0516] First, at step S1, a controller 23 of a recording and/or reproducing apparatus 1 reads out the EP_map (FIG. 70), STC_Info (FIG. 52) and ClipMark (FIG. 78) as database of the DVR transport stream from the recording medium 100.

[0517] At step S2, the controller 23 formulates a list of a thumbnail from the picture referenced by representative_picture_entry (FIG. 81) or ref_thumbnail_index to output the so formed list from a terminal 24 as a user interface input/output for display on a menu of GUI. If. In this case, ref_thumbnail_index has an effective value, ref_thumbnail_index is prioritized with respect to representative_picture_entry.

[0518] At step S3, a user designates a mark point of the reproduction start point. This is realized by the user selecting a thumbnail picture from the menu screen displayed as GUI. The controller 23 is responsive to this selecting operation to acquire a mark point associated with the designated thumbnail.

[0519] At step S4, the controller 23 acquires PTS of mark_Time_stamp and STC_sequenc_id of mark_entry (FIG. 81) specified at step S3.

[0520] At step S5, the controller 23 acquires, from STC_Info (FIG. 52), a source packet number at which to start the STC time axis associated with STC_sequence_id acquired at step S4.

[0521] At step S6, the controller 23 acquires, from the packet number at which starts the STC time axis acquired at step S5 and from a PTS of the mark point acquired at step S4, a source packet number where there is the entry point (I-picture) temporally previous and closest to the PTS of the mark point.

[0522] At step S7, the controller 23 reads out data of the transport stream from the source packet number containing the entry point acquired at step S6 to send the read-out data to the AV recorder 27.

[0523] At step S8, the controller 23 controls the AV recorder 27 to start the display as from the picture of the PTS of the mark point acquired at step S4.

[0524] The above-described operation is further explained with reference to FIGS. 107 to 109.

[0525] It is assumed that a DV transport stream has CM (commercial) inserted in the DVR transport stream file has a STC time axis of STC_EP_start of STC_sequence_id=id=id0, as shown in FIG. 107, and that the source packet number with which the time axis begins is smaller than the source packet number of the source beginning point A. It is also assumed that the CM (commercial) is added between the source packet numbers B and C.

[0526] In this case, there are registered in EP_map, corresponding to the EP_map shown in FIG. 70, in association with A, B and C shown as RSPN_EP_start, respective PTSs, as PTS(A), PTS(B) and PTS(C), as shown in FIG. 108.

[0527] Referring to FIG. 109, there are recorded mark_entry and representative_picture_entry, in the ClipMark of FIG. 78, in association with the mark type values (FIG. 79) of 0×92, 0×94 and 0×95 representing scene start, CM start and CM end, as shown in FIG. 109.

[0528] As the Mark_time_stamp of mark_entry, PTS(a1), PTS(b0) and PTS(c0) are registered in association with the scene start, CM start and CM end, with the respective STC_sequence_id being id0.

[0529] Similarly, as mark_time_stamp of the representative_picture_entry, PTS(a2), PTS(b0) and PTS(c) are registered in association with the scene start, CM start and CM end, with the respective STC_sequence_id being id0.

[0530] If PTS(A)<PTS(a1), a packet number A is acquired at step S6. At step S7, a transport stream beginning at packet number A is supplied to the AV decoder 27 and, at step S8, display is initiated as from the PTS(a1).

[0531] Referring to the flowchart of FIG. 110, the processing of CM skip reproduction in case the syntax of mark_entry and representative_picture_entry is configured as shown in FIG. 81.

[0532] At step S21, the controller 23 reads out from the recording medium 100 the EP_map (FIG. 70), STC_Info (FIG. 52), Program_Info (FIG. 54) and ClipMark (FIG. 78). At step S22, the user designates CM skip reproduction from a terminal 24 as a user interface input/output.

[0533] At step S23, the controller 23 acquires the PTS of the mark information as the CM start point (0×94) and associated STC_sequence_id (FIG. 81).

[0534] At step S24, the controller 23 acquires, from STC_Info (FIG. 52), a source packet number of the CM beginning and end points, where begins the STC time axis corresponding to STC-sequence-id.

[0535] At step S25, the controller 23 causes the transport stream to be read out from the recording medium to route it to the AV decoder 27 to start the decoding.

[0536] At step S26, the controller 23 verifies whether or not the current displayed picture is a picture of the PTS of the CM start point. If the current display picture is not the picture of the CM start time point, the controller proceeds to step S27 to continue displaying the picture. The processing then reverts to step S25 to repeat subsequent steps.

[0537] If, at step S26, the current displayed picture is verified to be a picture of the PTS of the CM start point, the processing transfers to step S28 where the controller 23 controls the AV decoder 27 to halt the decoding and display.

[0538] At step S29, the controller 23 acquires the packet number where begins the STC time axis associated with the STC_sequence_id of the CM end point, while acquiring, from the packet number and the PTS of the CM end point acquired by the processing at step S23, the source packet number where there is an entry point temporally previous and closest to the PTS of the point.

[0539] At step S30, the controller 23 controls the AV decoder 27 to reinitiate display from the picture of the PTS of the CM end point.

[0540] At step S31, the controller 23 controls the AV decoder 27 to reinitiate display from the picture of the PTS at the CM end point.

[0541] Referring to FIGS. 107 to 109, the above-described operation is explained further. The CM start time point and the CM end point are present in this embodiment on the common time axis of STC_sequence-id=id0. The source packet number where begins the STC time axis is selected to be smaller than the source packet number A of the scene start point.

[0542] If the transport stream is decoded and, at step S26, the display time is found to be the PTS (b0), that is if the display time point is found to be CM start time point, display is halted by the AV decoder 27. If PTS(C)<PTS(c0), decoding is started from the stream, beginning from the data of the packet number C at step S30. At step S31, display is re-started from the picture of PTS(c0).

[0543] This method can be applied not only to CM skip reproduction but also to skip reproduction of a scene between two points specified by the ClipMark in general.

[0544] Referring to the flowchart of FIG. 112, the CM locating reproduction processing indicated by the mark point, in case mark_entry and representative_picture_entry are of the syntax structure shown in FIG. 82, is explained.

[0545] At step S41, the controller 23 acquires the information of EP_map (FIG. 70), STC_Info (FIG. 52), Program_Info (FIG. 54) and ClipMark (FIG. 78).

[0546] At step S42, the controller 23 generates a list of thumbnails from the picture referenced by the representative_picture_entry (FIG. 82) or the picture referenced by ref_thumbnail_index contained in the ClipMark (FIG. 78), read out at step S41, to display the so generated list on a menu screen. If the ref_thumbnail_index has an effective value, ref_thumbnail_index is prioritized with respect to representative_picture_entry.

[0547] At step S43, the user specifies a mark point of the replay start point. This designation is carried out e.g., by the user selecting the thumbnail picture from the menu screen displayed by the processing of step S42 to specify the mark point associated with the thumbnail.

[0548] At step S44, the controller 23 acquires the RSPN_ref_EP_start and offset_num_pictures (FIG. 82) of the mark point specified by the processing of step S43.

[0549] At step S45, the controller 23 causes data of a transport stream to be read out from the source packet number corresponding to the RSPN_ref_EP_start acquired at step S44 to route it to AV decoder 27.

[0550] At step S46, the controller 23 controls the AV decoder 27 to count up the pictures to be displayed, as from the picture referenced (without displaying) by the RSPN_ref_EP_start, and starts display as from the picture corresponding to the count value of offset_num_pictures.

[0551] Referring to FIGS. 113 to 115, the above-described processing is explained further. In the present embodiment, a scene is started in the DVR transport stream file such that the CM is inserted as from the source packet number B up to the source packet C. So, PTS(A), PTS(B) and PTS(C) are registered as PTS_EP_start in the EP_map, in association with A, B and C as RSPN_EP_start, as shown in FIG. 114.

[0552] Moreover, mark_entry and representative_picture_entry are registered in association with scene start, CM start and CM end, as shown in FIG. 115. In mark_entry, A, B and C are registered as RSPN_ref_EP_start, in association with scene start, CM start and CM end, while M1, N1 and N2 are registered as offset_num_pictures. Similarly, in representative_picture_entry, M2, N1 and N2 are registered as offset_num_pictures, in association with scene start, CM start and CM end, while M1, N1 and N2 are registered as offset_num_pictures.

[0553] If locating reproduction is commanded from a picture corresponding to scene start, the decoding is started from a stream beginning from data of a packet number A to count up pictures to be displayed, as from the picture PTS(A), without displaying, to start displaying as from a picture for which offset_num_pictures has assumed the value of M1.

[0554] The processing of CM skip reproduction in case the syntax of mark_entry and representative_picture_entry are of a structure shown in FIG. 82 is now explained by referring to the flowchart of FIG. 116.

[0555] At step S61, the controller 23 acquires the information on EP_map (FIG. 70), STC_Info (FIG. 52), Program_Info (FIG. 54) and ClipMark (FIG. 78).

[0556] If the user commands CM skip reproduction at step S62, the controller 23 acquires, at step S63, RSPN_ref_EP_start and offset_num_pictures (FIG. 82) as the mark information of respective points as CM start point and CM end point. The CM start point data is RSPN_ref_EP_start(1) and offset_num_pictures(1), whilst the CM end point data is RSPN_ref_EP_start(2) and offset_num_pictures(2).

[0557] At step S64, the controller 23 acquires PTS corresponding to RSPN_ref_EP_start(1) and RSPN_ref_EP_start(2) from EP_map (FIG. 70).

[0558] At step S65, the controller 23 causes a transport stream to be read out from the recording medium 100 to send it to the AV decoder 27.

[0559] At step S66, the controller 23 verifies whether or not the current display picture is the picture of PTS associated with RSPN_ref_EP_start(1) and RSPN_ref_EP_start(2) and, if the current picture displayed is not the picture of PTS associated with RSPN_ref_EP_start(1), it proceeds to step S67 to cause the picture to be displayed continuously. The controller 23 then reverts to step S65 to repeat the subsequent process.

[0560] If, at step S66, the current picture displayed is the picture of PTS associated with RSPN_ref_EP_start(1), the controller 23 proceeds to step S68 to control the AV decoder 27 to count up the picture displayed as from the picture of the PTS associated with RSPN_ref_EP_start(1) to halt the display when the count value is offset_num_pictures(1).

[0561] At step S69, the controller 23 causes transport stream to be read out beginning from the source packet number of RSPN_ref_EP_start(2) to route the read-out data to the AV decoder 27.

[0562] At step S70, the controller 23 counts up the picture to be displayed, as from the picture of PTS associated with the RSPN_ref_EP_start(2) (without displaying) and, when the count value is offset_num_pictures(2), the controller causes display to be started at the corresponding picture.

[0563] By way of explaining the above-described operation further by referring to FIGS. 113 to 115, the time PTS(B) and PTS(C) corresponding to the packet numbers B and C, respectively, are first obtained, based on EP_map (FIG. 114). The Clip AV stream is decoded and, when the value is N1 (FIG. 15), the display is halted.

[0564] Decoding is re-started as from the stream beginning from the data of the packet number C to count up the picture displayed, as from the picture of the PTS(C) and, when the value is N2 (FIG. 115), display is re-started as from the picture.

[0565] The above processing may be applied not only to a case of CM skipping reproduction but also to reproduction of a scene with skipping between two points specified by the ClipMark.

[0566] The processing of locating a scene specified by a mark point and reproducing the so located scene is explained with reference to the flowchart of FIG. 118 in case the syntax of mark_entry and representative_picture_entry elementary stream is as shown in FIG. 84.

[0567] At step S81, the information on EP_map (FIG. 70), STC_Info (FIG. 52), Program_Info (FIG. 54) and ClipMark (FIG. 78) is acquired.

[0568] At step S82, the controller 23 generates a list of thumbnails, referenced by representative_picture_entry or ref_thumbnail_index of ClipMark (FIG. 78) to display the so generated list as GUI menu picture. If the ref_thumbnail_index has an effective value, ref_thumbnail_index is prioritized with respect to representative_picture_entry.

[0569] At step S83, a user specifies a mark point of the reproduction start point. This designation is made as the user selects a thumbnail picture from the menu picture and specifies the mark point associated with the thumbnail.

[0570] At step S84, the controller 23 acquires the RSPN_mark_point (FIG. 84) specified by the user.

[0571] At step S85, the controller 23 acquires, from the EP_map, the source packet number of the entry point previous and closest to the RSPN_mark_point of the mark_point (FIG. 70).

[0572] At step S86, the controller 23 reads out data of the transport stream from the source packet number associated with the entry point acquired at step S85 to route the so read out data to the AV decoder 27.

[0573] At step S87, the controller 23 controls the AV decoder 27 to start display as from the picture referenced by RSPN_mark_point.

[0574] The above-described processing is explained in more detail by referring to FIGS. 119 to 121. In the present embodiment, the DVR transport stream file is such a one in which a scene starts with the source packet and CM is inserted as from the source packet number B to the source packet number C. So, PTS_EP_start are registered as PTS(A), PTS(B) and PTS(C), in association with A, B and C as RSPN_EP_start of FIG. 120. In the ClipMark shown in FIG. 21, a1, b1 and c1 are registered as RSPN_mark_point of maker entry, while a2, b1 and c1 are registered as RSPN_mark_point of representative_picture_entry, in association with the scene start, CM start and CM end, respectively.

[0575] If, in locating a picture at a scene start for reproduction, the packet number A is such that A<a1, decoding is started as from a stream beginning from the data of the packet number A, such that display is started as from a picture corresponding to the source packet number a1.

[0576] The CM skipping reproduction processing in case the syntax of mark_entry and representative_picture_entry is as shown in FIG. 84 is now explained with reference to the flowcharts of FIGS. 122 and 123.

[0577] At step S101, the controller 23 acquires the information on EP_map (FIG. 70), STC_Info (FIG. 52), Program_Info (FIG. 54) and ClipMark (FIG. 78).

[0578] At step S102, the user specifies CM skipping reproduction.

[0579] At step S103, the controller 23 acquires the RSPN_mark_point (FIG. 84) of the mark information of each point for which the mark type (FIG. 79) is the CM start point or the CM end point. The controller 23 sets the data of the CM start point and data of the CM end point as RSPN_mark_point(1) and as RSPN_mark_point(2), respectively.

[0580] At step S104, the controller 23 causes a transport stream to be read out from the recording medium 100 to output the read out stream for decoding.

[0581] At step S105, the controller 23 verifies whether or not the current picture is a picture corresponding to RSPN_mark_point(1). If the current picture is not a picture corresponding to RSPN_mark_point (1), the controller 23 proceeds to step S106 to continue to display the picture. The processing then reverts to step S11 to repeat the subsequent process.

[0582] If, at step S105, the current display picture has been verified to be a picture associated with RSPN_mark_point(1), the processing transfers to step S107, where the controller 23 controls the AV decoder 27 to halt the decoding and display.

[0583] Then, at step S108, the source packet number previous and closest to RSPN_mark_point (2) is acquired from EP_map (FIG. 70).

[0584] At step S109, the controller 23 reads out the transport stream data from the source packet number associated with the entry point acquired at step S108 to route it to the AV decoder 27.

[0585] At step S110, the controller 23 controls the AV decoder 27 to re-start the display as from the picture referenced by RSPN_mark_point (2).

[0586] By way of explaining the above-described processing in more detail by referring to the embodiment of FIGS. 119 to 121, the Clip AV stream is decoded and display is halted at a display picture corresponding to the source packet number b1 (FIG. 21). If the source packet number C<source packet number c1, decoding is re-started as from the stream beginning from the data of the packet number C, and display is re-started as from the stream beginning from the data of the packet number c1.

[0587] As described above, a preset location is specified on the PlayList by a time stamp, which time stamp is converted in each Clip information of each Clip into a data address to have access to a preset position of the Clip AV stream.

[0588] More specifically, if a book mark or a Resume point is specified by the user as PlayList mark as time stamp on the time axis, the PlayList on reproduction may use the ClipMark of the ClipMark being referenced by the PlayList to access the scene start or end point of the Clip AV stream.

[0589] Meanwhile, the ClipMark syntax may be as shown in FIG. 126 instead of in FIG. 78.

[0590] In the present embodiment, RSPN_mark is inserted in place of reserved_for_MakerID, mark_entry( ) and representative_picture_entry of FIG. 78. The 32-bit field of this RSPN_mark denotes the relative address of the source packet containing the first byte of the access unit the mark is referencing. RSPN_mark is sized in terms of the source packet number as a unit. It is defined in the Clip Information file as from the first source packet of the AV stream file and is counted with the value of the offset_SPN as an initial value.

[0591] The structure is otherwise the same as the structure of FIG. 78.

[0592] The ClipMark syntax may further be configured as shown in FIG. 127. In the present embodiment, RSPN_ref_EP_start and offset_num_pictures are inserted in place of RSPN_mark in FIG. 126. These are similar to those shown in FIG. 82.

[0593]FIG. 128 shows an alternative syntax of ClipInfo( ).

[0594] Clip_service_type indicates the type of the AV stream file. For example, clip_service_type indicates types, such as video recording or audio recording. Moreover, clip_service_type may have the same meaning as that of the service type indicated by the digital TV broadcast program. For example, in digital BS broadcast in Japan, the service type has three types, namely the TV service, speech service and data broadcast service. The value representative of the service type of the program contained in an AV stream is set in the Clip_service_type.

[0595] Transcode_mode_flag is flag specifying the recording method for the MPEG-2 transport stream received from the digital broadcast. If 1 is set in this flag, it indicates that at least one elementary stream in the AV stream file corresponding to the Clip has been re-encoded and recorded. If this flag is set to 1, it indicates that the totality of the elementary streams are recorded without being changed from the contents as-received from the digital broadcast.

[0596] The other syntax fields have the same meaning as the fields bearing the same name as explained with reference to FIG. 46.

[0597] Referring to FIG. 129, another embodiment of the ProgramInfo( ) is explained.

[0598] A source packet sequence having constant program contents as provided for in the present format in the AV stream file is termed program_sequence.

[0599] An address in the AV stream file where starts a new program_sequence is stored in ProgramInfo( ). This address is indicated by SPN_program_sequence_start.

[0600] The program_sequence other than the last program_sequence in the AV stream file begins with the source packet specified by its SPN_program_sequence_start and ends with the source packet directly previous to the source packet specified by the next SPN_program_sequence_start. The last program_sequence begins with the source packet specified by the SPN_program_sequence_start and ends with the last source packet of the AV stream file.

[0601] The program_sequence may be astride the boundary of the STC_sequence.

[0602] The length indicates the number of bytes as from the byte directly following the length field up to the last byte of ProgramInfo( ).

[0603] The num_of_program_sequence indicates the number of program_sequences in the AV stream file.

[0604] SPN_program_sequence_start indicates an address where begins the program_sequence on the AV stream file. SPN_program_sequence_start is sized with the source packet number as basis and is counted from the first source packet of the AV stream file, with 0 as an initial count.

[0605] The values of the SPN_program_sequence_start, entered in ProgramInfo( ), are arrayed in the rising order.

[0606] It is presupposed that SPN_program_sequence_start is indicating the source packet with respect to the program_sequence. SPN_program_sequence_start is created by the recorder (recording and/or reproducing apparatus 1 of FIG. 1) and analyzes the PSI/SI in the transport stream. Since delay time is required for the recorder to analyze the PSI/SI to detect the change therein, PN_program_sequence_start may indicate the source packet within a preset time as from the actual PSI/SI change point.

[0607] Program_map_PID is a value of the PID of the transport packet having the PMT (program map table) applicable to the program_sequence.

[0608] Num_of_streams_in_ps indicates the number of elementary streams defined in the program_sequence thereof.

[0609] Num_of_groups indicates the number of the elementary streams defined in the program_sequence thereof. The num_of_groups is a number not smaller than 1.

[0610] If the PSI/SI of the transport stream owns the group information of the elementary stream, the num_of_groups is presupposed to have a value not smaller than 1.

[0611] Stream_PID indicates the value of PID for the elementary stream defined in the PMT referenced by program_map_PID of the program_sequence thereof.

[0612] StreamCodingInfo( ) indicates the information of the elementary stream specified by the stream_PIDm as will be explained in detail subsequently.

[0613] Num_of_streams_in_group indicates the number of elementary streams owned by the group of the elementary streams.

[0614] Stream_index indicates the value of stream_index defined in the order defined in a for-loop in the stream_index of the syntax corresponding to the elementary stream owned by the group of the elementary streams.

[0615]FIG. 30 shows a syntax of StreamCodingInfo( ).

[0616] Length indicates the number of bytes from a byte directly after the length field to the last byte of StreamCodingInfo( ).

[0617] Stream_Coding_type indicates the encoding type of the elementary stream specified by the stream_PID corresponding to this StreamCodingInfo( ). The meaning of the values is the same as that shown in FIG. 131.

[0618] Video_format indicates the video format of the video stream specified by the stream_PID corresponding to this StreamCodingInfo( ).

[0619] The meaning of the values is the same as that shown in FIG. 56.

[0620] Frame_rate indicates the frame rate of the video stream specified by the stream_PID corresponding to this StreamCodingInfo( ).

[0621] The meaning of the values is the same as that shown in FIG. 57.

[0622] Display_aspect_ratio denotes the display aspect ratio of the video stream specified by the stream_PID corresponding to this StreamCodingInfo( ).

[0623] The meaning of the values is the same as that shown in FIG. 58.

[0624] Cc_flag is a flag specifying whether or not a closed caption signal (closed caption data) in the video stream specified by the stream_PID corresponding to this StreamCodingInfo( ) has been encoded.

[0625] Original_video_format_flag is a flag indicating whether or not there exist original_video_format and original_aspect_ratio in this StreamCodingInfo( ).

[0626] Original_video_format is an original video format previous to encoding of the video stream specified by stream_PID corresponding to this StreamCodingInfo( ). The meaning of the values is the same as video_format described above with reference to FIG. 58.

[0627] Original_display_aspect_ratio is an original display aspect ratio prior to the encoding of the video stream specified by the stream_PID corresponding to this StreamCodingInfo( ). The meaning of the values is the same as that of display_aspect_ratio (FIG. 58).

[0628] It is assumed that, in transcoding a transport stream in which a multi-media data stream, such as BML stream or title, is multiplexed along with the video stream, the video format is changed such as from 1080i to 480i by re-encoding the video stream, with the multi-media data stream keeping the contents of the original stream. On the other hand, it is assumed that the multi-media data stream maintains the contents of the original stream. There are occasions where information mismatching is produced between the new video stream and the multi-media data stream. For example, while the parameters pertinent to display of the multi-media data stream are determined as the video format of the original video stream is presumed, the video format may be changed as a result of re-encoding the video stream. In such case, the information pertinent to the original video stream is saved in Original_video_format and in original_display_aspect_ratio. The reproducing device (recording and/or reproducing apparatus 1 of FIG. 1) creates a display picture from the above-mentioned new video stream and from the multi-media data stream as follows:

[0629] The video stream is up-sampled in accordance with the video format shown by original_video_format and in original_display_aspect_ratio.

[0630] The upsampled picture and the multi-media data are synthesized to form a correct display picture.

[0631] Audio_presentation_type denotes the presentation type of the audio stream specified by stream_PID corresponding to this StreamCodingInfo( ).

[0632] The meaning of the value is the same as that of audio_component_type of FIG. 61.

[0633] Sampling_frequency means the sampling frequency of the audio stream indicated by stream_PID corresponding to this StreamCodingInfo( ).

[0634] The meaning of the value is the same as that shown in FIG. 62.

[0635] Another embodiment of EP_map is explained. In this embodiment of the EP_map, data of PTS_EP_start and RSPN_EP_start, explained with reference to FIGS. 70 and 72, but is stored in EP_map after compression encoding aimed to reduce the data volume. This compression encoding is executed by the controller 23 of FIG. 1.

[0636] EP_map is comprised of at least one or more sub-table termed EP_map_for_one_stream_PID( ). This sub-table EP_map_for_one_stream_PID( ) is created for one elementary stream recorded by a transport packet having the same PID value.

[0637] This EP_map has the following information for the totality of EP_map_for_one_stream_PID( ).

[0638] (1) stream_PID: specifies the PID of the transport packet responsible for transmitting the elementary stream specified by the EP_map_for_one_stream_PID( ).

[0639] (2) EP_stream_type: specifies the type of the entry point of the EP_map_for_one_stream_PID( )

[0640] (3) entry of EP_map_for_one_stream_PID( ), each entry having the following information:

[0641] PTS_EP_start: indicates the value of the PTS of the access unit in the entry point.

[0642] RSPN_RP_start: indicates an address of starting of an access unit referenced by PTS_EP_start of the entry point in question in the AV stream.

[0643] If EP_map specifies one or more elementary stream, EP_map may have one or more EP_map_for_one_stream_PID( ) subtable. FIG. 67 shows an embodiment of an EP_map in case EP_map specifies three video streams in the Clip.

[0644] One EP_map_for_one_stream_PID( ) is created in one table irrespective of STC discontinuous points.

[0645] The boundary of the STC_sequence in the EP_map can be known by comparing the value of RSPN_EP_start to the value of RSPN_EP_start defined in STC_Info( ).

[0646] EP_map has one EP_map_for_one_stream_PID for a continuous range of a stream transmitted in the same PID.

[0647] In the case of FIG. 69, program#1 and program#3 own the same video PID, however, the data range is not continuous, so that each program must own EP_map_for_one_stream_PID.

[0648] For reducing the data size of the EP_map_for_one_stream_PID( ) table and improving data search performance, EP_map_for_one_stream_PID( ) is divided into two subtables, namely EP_coarse and EP_fine (see FIG. 132).

[0649] An EP_fine entry owns the bit information on the side LSB (least significant bit) of PTS_EP_start and RSPN_EP_start (see FIGS. 133 and 134). The EP_coarse entry has the bit information on the side MSB (most significant bit) of PTS_EP_start and RSPN_EP_start and the entry number in the table of EP_fine associated therewith (entry in the EP_fine table having the LSB side bit taken from the same PTS_EP_start).

[0650] The number of entries in the EP_coarse subtable is significantly smaller than that of the EP_fine subtable. The EP_coarse entries are formed in the following cases:

[0651] entry of first PTS_EP-fine;

[0652] entry of first RSPN_EP_fine after wraparound of the value of RSPN_EP_fine; and

[0653] entry of first RSPN_EP_fine after wraparound of the value of RSPN_EP_fine (see FIG. 135).

[0654] An instance of random accessing to an AV stream in case of using EP_map is hereinafter explained.

[0655] It is assumed that a PlayList is to be reproduced after lapse of 30 minutes on its global time axis.

[0656] STC-sequence-id of the PlayItem containing the time corresponding to the time after 30 minutes on the global time axis of the STC-sequence.

[0657] The value of PTS corresponding to the time after lapse of 30 minutes on the local time axis of the above-mentioned STC-sequence.

[0658] The above-mentioned STC-sequence RSPN_STC_start is derived from STC_Info.

[0659] Data search is started from the entry in the EP_subtable where RSPN_EP_coarse is not less than RSPN_STC_start. In the EP_coarse subtable, an entry of PTS_EP_coarse having a value closest having a value temporally previous to the required PTS is found.

[0660] In the EP_fine subtable, data search is started from the entry number of EP_fine associated with the PTS_EP_coarse thus found. Such an entry is found which is closest and has a value temporally previous to the PTS as required is found.

[0661] The RSPN_EP_start for starting the readout of the access unit of the PTS as required is determined by substituting 18 LSB side bits of the RSPN_EP_coarse associated with the PTS_EP_coarse thus found for the RSPN_EP_fine bits corresponding to PTS_EP_fine thus found..

[0662]FIG. 136 shows the syntax of EP_map explained above.

[0663] Number_of_stream_PID_entries indicates the number of entries of EP_map_for_one_stream_PID in the EP_map.

[0664] Stream_PID[k] indicates the value of PID of a transport packet transmitting the elementary stream referenced by the above-mentioned EP_map_for_one_stream_PID which has an entry number k in EP_map.

[0665] EP_stream_type[k] indicates the type of the elementary stream referenced by the map_for_one_stream_PID. The meaning of the value is indicated in Table of FIG. 137.

[0666] If EP_stream_type[k] is 0 or 1, its elementary stream is a video stream. The meaning of video type 1 and the video type 2 are explained later in connection with explanation of EP_video_type (FIG. 139).

[0667] If EP_stream_type[k] is 2, its elementary stream is an audio stream.

[0668] Num_EP_fine_entries[k] indicates the number of EP-coarse entries in the EP_map_for_one_stream_PID.

[0669] Num_EP_fine_entries[k] indicates the number of P-fine entries in the EP_map_for_one_stream_PID.

[0670] EP_map_for_one_stream_PID_start_address[k] denotes a relative address position in the EP_map( ) where begins the above-mentioned EP_map_for_one_stream_PID. This value is indicated by the number of bytes as from the first byte of EP_map.

[0671]FIG. 138 shows the syntax for EP_map_for_one_stream_PID. For explanation of this semantics, the meaning of the PTS_EP_start and RSPN_EP_start as the origin of data stored in the EP_map_for_one_stream_PID is explained.

[0672] PTS_EP_start and RSPN_EP_start associated therewith indicate an entry point on the AV stream. PTS_EP_fine and PTS_EP_coarse associated therewith are derived from the same RSPN_EP_start. PTS_EP_start and RSPN_EP_start are defined as follows:

[0673] EP_start is defined as follows:

[0674] PTS_EP_start is a 33-bit long unsigned integer. The definition of PTS_EP_start differs with the value of EP_stream_type for EP_map_for_one_stream_PID.

[0675] If EP_stream_type is 0 (‘video type 1’), then PTS_EP_start indicates the 33-bit PTS of the video access unit beginning from the sequence header in the AV stream.

[0676] If EP_stream_type is 2 (‘audio’), then PTS_EP_start indicates the 33-bit PTS of the video access unit defined beginning from the sequence header in the AV stream.

[0677] If EP_stream_type is 1 (‘video type 2’), then PTS_EP_start indicates the 33-bit PTS of the video access unit defined in FIG. 139 in accordance with the value of the EP_video_type associated therewith.

[0678] RSPN_EP_start is a 32-bit unsigned integer. The definition of RSPN_EP_start differs with the value of EP_stream_type for EP_map_for_one_stream_PID.

[0679] If EP_stream_type is 0 (‘video type 1’), this field indicates an address in the AV stream of a source packet containing a first byte of the video access unit associated with PTS_EP_start.

[0680] If EP_stream_type is 2 (‘audio’), this field indicates an address in the AV stream of the source packet containing the first byte of the audio access unit associated with the PTS_EP_start.

[0681] If EP_stream_type is 1 (‘video type 2’), the meaning of RSPN_EP_start is defined in FIG. 139 in accordance with the value of EP_video_type associated therewith.

[0682] RSPN_EP_start is represented in terms of the source packet number as unit and is counted with 0 as an initial value as from the first source packet in the AV stream file.

[0683] The semantics of EP_map_for_one_stream_PID are explained.

[0684] If EP_fine_table_start_address indicates the start address of the first byte of the first EP_video_type[EP_fine_id]. Ths address is represented by the number of relative bytes as from the first byte of EP_map_for_one_stream_PID. The number of relative bytes begins from 0.

[0685] Ref_to_EP_fine_id denotes the number of an EP_fine entry having PTS_EP_fine related with PTS_EP_coarse next following this field. PTS_EP_fine and PTS_EP_coarse associated therewith are derived from the same PTS_EP_start.

[0686] Ref_to_fine_id is given by the value of EP_fine_id defined in the order stated in for-loop pf EP_fine_id.

[0687] PTS_EP_coarse and PTS_EP_fine on one hand and RSPN_EP_coarse and RSPN_EP_fine on the other may be derived as follows:

[0688] There are Nf entries in the EP_fine subtable, these entries being arrayed in the rising order of the values of the associated RSPN_EP_start.

[0689] The respective PTS_EP_fine entries may be derived from the respective PTS_EP_start as follows:

[0690] PTS_EP_fine{EP_fine_id]=(PTS_EP_start[EP_fine_id]>>9) % % 212.

[0691] The relation between PTS_EP_coarse and its PTS_EP_fine is as follows:

[0692] PTS_EP_coarse[i]=(PTS_EP_start[ref_to_EP_fine_id[i]]=>>19) % 214

[0693] TS_EP_fine[ref_to_EP_fine_id[i]]=(PTS_EP_start[ref_to_EP_fine_id[i]]>>9) % 212.

[0694] The respective RSPN_EP_fine entries are derived from the respective RSPN_EP_start as follows:

[0695] RSPN_EP_fine [EP_fine_id]=RSPN_EP_start [EP_fine_id] % 218.

[0696] The relation between RSPN_EP_coarse and its RSPN_EP_fine is as follows:

[0697] RSPN_EP_fine[ref_to_EP_fine_id[i]]=RSPN_EP_start[ref_to_EP_fine_id[i]] % 218.

[0698] If EP_stream_type is 1 (‘video type 2’), EP_video_type[EP_fine_id] denotes the type of the video access unit indicated by PTS_EP_fine[EP_fine_id] and RSPN_EP_fine[EP_fine_id]. The meaning of the values is as shown in FIG. 139.

[0699] EP_map_for_one_stream_PID( ) meets the following limitations:

[0700] In EP_map_for_one_stream_PID( ), the entries of RSPN_EP_coarse must be arrayed in the rising order of the values of the RSPN_EP_coarse.

[0701] In EP_map_for_one-stream_PID( ), the entries of RSPN_EP_fine must be arrayed in the rising order of the values of the RSPN_EP_start.

[0702] In the next case, entries of PTS_EP_coarse and RSPN_EP_coarse are made:

[0703] entries of first PTS_EP_fine

[0704] entries of first PTS_EP_fine after wraparound of the PTS_EP_fine values

[0705] entries of first RSPN_EP_fine after wraparound of the RSPN_EP_fine values.

[0706]FIG. 140 shows a flowchart of the recording operation of the Clip AV stream file and the pertinent Clip Information file. Reference is made to the recording and/or reproducing apparatus of FIG. 1 for explanation.

[0707] At step S201, the controller 23 forms a transport stream obtained on encoding an AV input from terminals 11 and 12 or a transport stream input from a digital interface of the terminal 13 into a file to create and record a Clip AV stream file.

[0708] At step S202, the controller 23 forms a ClipInfo on the AV stream file.

[0709] At step S203, the controller 23 forms a SYC_Info on the AV stream file.

[0710] At step S204, the controller 23 forms a Program_Info on the AV stream file.

[0711] At step S205, the controller 23 forms a CPI (EP_map or TU_map) on the AV stream file.

[0712] At step S206, the controller 23 forms a ClipMark on the AV stream file.

[0713] At step S207, the controller 23 records a Clip Information file having stored therein ClipInfo, STC_Info, ProgramInfo, CPI and ClipMark.

[0714] Although the respective processings are explained chronologically, steps S201 to S206 in effect operate simultaneously.

[0715] An illustrative operation for crating STC_Info is explained using the flowchart of FIG. 14.

[0716] At step S221, a stream analysis unit 18 checks whether or not a PCR packet has been received. If the result of check at step S221 is NO, processing reverts to step S221 and, if otherwise, processing transfers to step S222.

[0717] At step s222, it is checked whether or not STC discontinuities have been detected. If the result is NO, processing reverts to step S221 and, if otherwise, processing transfers to step S223. If the PCR packet is the first one received since the start of recording, processing necessarily transfers to step S222.

[0718] At step s223, the number (address) of the transport packet transporting the first PCR of a new STC is acquired.

[0719] At step S224, STC_Info is prepared.

[0720] At step S225, it is checked whether or not the inputting of the last transport packet has been finished. If the result of check is NO, processing reverts to step S221 and, if otherwise, processing comes to as close.

[0721] A typical operation of preparing Program_Info is explained using a flowchart of FIG. 142. This processing is carried out by a multiplexing stream analysis unit 18 of FIG. 1.

[0722] At step S141, the stream analysis unit 18 checks whether or not a transport packet inclusive of PSI/SI has been received. Specifically, the transport packet of PSI/SI is a packet of PAT, PMT or SIT. SIT is a transport packet stating the service information of a partial transport stream provided in DVB standard. If the result of check at step S241 is NO, processing reverts to step S241 and, if otherwise, processing transfers to step S242.

[0723] At step S242, it is checked whether or not the contents of PSI/SI have been changed. That is, it is checked whether or not the respective contents of PAT, PMT and SIT have been changed from the respective contents previously received. If the contents have not been changed, processing transfers to step S243. Meanwhile, if the PSI/SI is the first one received since the start of recording, processing necessarily transfers to step S243.

[0724] At step S243, the number (address) and contents of the transport packet transmitting a new PSI/SI are acquired.

[0725] At step S244, the information on program_sequence is formed.

[0726] At step S245, it is checked whether or not the inputting of the last transport packet has been finished. If the result is NO, processing reverts to step S241 and, if otherwise, processing is terminated.

[0727] A typical operation of preparing EP_map is explained using the flowchart of FIG. 143.

[0728] At step S261, the stream analysis unit 18 sets a PID of the video of the AV program to be recorded. If there are plural video contents in the transport stream, the respective video PDs are set.

[0729] At step S262, the stream analysis unit 18 receives a video transport packet.

[0730] At step S263, the stream analysis unit checks whether or not the payload of the transport packet (data part connecting to packet header) begins with the first byte of the PES packet (the PES packet is a packet provided in MPEG2 and packetizes an elementary stream). This may be grasped by checking for the value of “payload_unit_start_indicator” in the transport packet header. If this value is 1, the payload of the transport packet begins with the first byte of the PES packet. If the result of check at step S263 is NO, processing reverts to step S262 and, if otherwise, processing transfers to step S264.

[0731] At step S264, the stream analysis unit checks whether or not the payload of the PES packet begins with the first byte of sequence_header_code of MPEG video (code of “0×000001B3 in 32 bits”. If the result of check at step S264 is NO, processing reverts to step S262 and, if otherwise, processing transfers to step S265.

[0732] At step S265, the current transport packet is to be an entry point.

[0733] At step S266, the stream analysis unit acquires the packet number of the packet, PTS of an I-picture video PID beginning at the sequence_header_code and the video PID to which belongs its entry point for inputting to the controller 23. The controller 23 forms EP_map.

[0734] At step S267, it is checked whether or not the current packet is the last input transport packet. If it is not the last packet, processing reverts to step S262 and, if otherwise, the processing is terminated.

[0735]FIG. 144 shows a flowchart for explaining the method for creating ClipMark of the syntax of FIG. 81 in encoding and recording analog AV signals.

[0736] At step S281, the analysis unit 14 analyzes the input AV signals from terminals 11, 12 to detect characteristic points specifying characteristic scenes ascribable to AV stream contents, such as program locating or scene change points.

[0737] At step S282, the controller 23 acquires PS of a picture of the characteristic point.

[0738] At step S283, the controller 23 stores the information on the characteristic points in ClipMark. Specifically, it stores the information explained in connection with the semantics and the syntax of the ClipMark of the present embodiment.

[0739]FIG. 145 shows a flowchart for illustrating the method for forming the ClipMark of the syntax shown in FIG. 81 in recording a transport stream input from a digital interface.

[0740] At step S301, the demultiplexer 26 and the controller 23 acquire the elementary stream of a program to be recorded. If there are plural elementary streams to be analyzed, the totality of the elementary stream IDs are acquired.

[0741] At step S302, the demutiplexer 26 and the controller 23 separate an elementary stream from the program of the transport stream input from the terminal 13 to input the separated elementary stream to the AV decoder 27, which AV decoder 27 decodes the input stream to output AV signals.

[0742] At step S303, the analysis unit 14 analyzes the AV signals to detect characteristic points.

[0743] At step S304, the controller 23 acquires the PTS of the picture of the characteristic point and the STC-sequence-id of STC to which it belongs.

[0744] At step S305, the controller 23 stores the information of the characteristic point in the ClipMark. Specifically, the controller 23 stores the syntax of the ClipMark and the information explained in connection with the semantics.

[0745] The method for performing special reproduction using EP_map is explained. EP_map is useful in making random access reproduction.

[0746] In the transport stream of the digital broadcast, video PID is likely to be changed. So, the decoder has to be aware of PID mapping in the transport stream being decoded. So, the EP_map has the value of the video PID from one subtable termed P_map_for_one_stream_PID to another, while the ProgramInfo has the information on PID mapping.

[0747]FIG. 146 shows a case of DVR MPEG2 TS in which the video PID value is changed in a transport stream. In this case, EP_map has the information on PID mapping.

[0748]FIG. 147 shows a player model in case of I-picture search (e.g., trick play or chapter search).

[0749] 1) First, a file system 112 reads data of Clip Information file (EP_map, STC_Info and ProgramInfo) from a disc 111 (corresponding to the recording medium 100 of FIG. 1). The data is sent to a host computer 15.

[0750] 2) A user interface sets PTS of the search start time and the program number to be reproduced. The data is sent to the host computer 115.

[0751] 3) The host computer 115 sets in demultiplexer 113 the video PID of a source packet specified by RSPN_EP_start corresponding to search start time.

[0752] 4) The host controller 115 sets in the file system 112 the data address corresponding to the source packet specified by RSPN_EP_start corresponding to the search start time.

[0753] 5) The file system 112 reads out DVR MPEG-2 transport stream from the specified data address.

[0754] 6) If the user sets the next search time, processing reverts to step S2.

[0755]FIG. 148 shows an original AV stream file and the same AV stream file as edited for erasing a stream of a partial reproduction range of the stream.

[0756] It is assumed that, prior to editing, the VirtualPlayList is indicating the IN_time and OUT_time on the original AV stream. If an editing of erasing a stream portion not used by the Virtual PlayList (Minimizing editing) is made, it changes the original AV stream to an as-edited stream. Data from the leading end of the original AV stream to a point X and data from a point Y to the trailing end are erased. In the following explanation, a typical method for determining these X and Y points is explained.

[0757]FIG. 149 illustrates the method for rasing unneeded data ahead of an IN point. PlayList denotes the point IN of the original AV stream. FIG. 149 also shows EP_map of the AV stream. For decoding the picture specified by the IN point, an I-picture beginning from the address ISA2 is needed.

[0758] Moreover, PAT, PMT and PCR packets are needed after point X. The PTS of RSPN_EP_start=1 and PTS of SA1 is pts1, while PTS of RSPN_EP_start=ISA2 is pts2. If the time difference of the system time base of pts1 and that of pts2 is not less than 100 msec, there exist PAT, PMT and PCR packets between the address ISA1 and ISA2, at least insofar as the case of SESF, DVB, ATSC and ISDB is concerned.

[0759] So, the point X is determined before ISA1. The point X must be on a boundary of the aligned units.

[0760] A recording device (recording and/or reproducing apparatus 1 of FIG. 1) is able to decide the point X at the next step, using EP_map, without analyzing the contents of the AV stream.

[0761] 1) RSPN_EP_start having a value of PTS of the display time closest to and more past than the PTS of the IN time on the system time base is found out.

[0762] 2) RSPN_EP_start having a value of PTS of the display time more past at least 100 msec than the value of the PTS of the RSPN_EP_start found at step 1) is found out.

[0763] 3) The X point is determined before RSPN_EP_start as found at step 2). The point X must be on the boundary line of the aligned unit.

[0764] This method is simple because it is unnecessary to read out data of the AV stream in order to determine the X point to analyze its contents. However, there are occasions wherein, with the as-edited AV stream, unneeded data be left in the reproduction of the PlayList. If the data of the AV stream is read out to determine its contents in order to determine the point X, unneeded data can be erased efficiently in reproducing the PlayList.

[0765]FIG. 150 illustrates a method for erasing unneeded data at back of the OUT point. PlayList specifies the OUT point on the original AV stream. There is also shown EP_map of the AV stream.

[0766] The video sequence started from RSPN_EP_start=ISA4 is presupposed to be

I2 B0 B1 P5 . . .

[0767] where I, P and B denote I-, P- and B-pictures, respectively. If, in this processing, the recorder fails to analyze the contents of the AV stream, the recorder is unable to realize the information of the picture the PTS of OUT_time references, such as pucture coding type or temporal reference. OUT_time PTS may be referencing the picture B0 or the picture B1 (this cannot be clarified unless the recorder analyzes the contents of the AV stream). If the recorder is to decode the pictures B0 or B1, I2 is required. The PTS of I2 is larger than PTS of OUT_time (OUT_time<pts4, here pts4 is PTS of I2). Although PTS of I2 is larger than PTS of OUT_time, I2 is required for B0 and b1.

[0768] Therefore, the point Y is determined so as to be at back of the address ISA5 shown. ISA5 is the value of RSPN_EP_start directly at back of ISA4 in EP_map. The point Y must be on the boundary of the island unit.

[0769] The recorder is also able to decide the point Y at the next step, using EP_map, without analyzing the contents of the AV stream.

[0770] 1) RSPN_EP_start having the value of PTS of the display time point closet to and more future than the PTS of OUT_time on the system time base is found.

[0771] 2) RSPN_EP_start lying directly at back of RSPN_EP_start found at step 1) is found.

[0772] 3) The point Y is determined so as to be more backward than RSPN_EP_start found at step 20.

[0773] The point Y must be on the boundary of the island unit.

[0774] This method is simple because it is unnecessary to read out data of the AV stream in order to determine the Y point to analyze its contents. However, there are occasions wherein, with the as-edited AV stream, unneeded data be left in the reproduction of the PlayList. If the data of the AV stream is read out to determine the point Y to analyze its contents, unneeded data can be erased efficiently in reproducing the PlayList.

[0775] Based on the syntax, data structure and the rule, described above, the contents of data recorded on a recording medium, or the reproduction information, may be managed properly to enable the user to confirm the contents of data recorded on the recording medium during reproduction or to reproduce desired data extremely readily.

[0776] With the data base structure of the present invention, a PlayList file and the Clip Information file are recorded separately, so that, in case the contents of a given PlayList or Clip are changed by editing, it is unnecessary to change other irrelevant files. So, file contents can be changed readily, while the time needed in such change or recording may be shorter.

[0777] If initially the Info.dvr only is read out, the disc recording contents are presented to the user interface, and only the PlayList file commanded to be reproduced by the user and the relevant Clip Information file are read out from the disc, the user queuing time may be shorter.

[0778] If the totality of PlayList files or Clip Information file are collected into a sole file for recording, the file size becomes excessively large, so that the operation in changing and recording the file contents is considerably time-consuming as compared to the case in which individual files are separated and recorded separately. The present invention solves this problem.

[0779] By arranging the ClipInfo of the AV stream, STCInfo for storing the information on discontinuous points of STC of the AV stream, ProgramInfo for storing the information on discontinuous points of program contents of the AV stream, CPI for storing the information used for correlating the address information and the time information on the AV stream, and the ClipMark for storing the type of the characteristic picture on the AV stream, such as program locating point, and the address in the AV stream of the picture, as the ancillary information of the AV stream, into a file as Clip Information file, and recording the so formed file on the recording medium, it becomes possible to properly manage the encoding information of a stream necessary for reproducing the AV stream.

[0780] By this Clip information file information, the user is able to search an interesting scene, such as program locating point, from the AV stream recorded on the recording medium 100, so that it is possible to determine the AV stream readout position from the recording medium 100 responsive to the command for random access or special reproduction from the user as well as to start stream decoding promptly.

[0781] Although the above-described sequence of operations can be executed by a hardware, it can also be executed by software. In such case, the recording and/or reproducing apparatus 1 is constituted by, for example, a personal computer shown in FIG. 151.

[0782] In FIG. 151, the CPU (central processing unit) executes a variety of operations in accordance with a program stored in a ROM (read-only memory) 202 or a program loaded from a memory 208 to a RAM (random access memory) 203. In the RAM 203, data necessary for the CPU 201 to execute a variety of operations are also stored as necessary.

[0783] The CPU 201, ROM 202 and the RAM 203 are interconnected over a bus 204, connected in turn to an input/output interface 205.

[0784] To the input/output interface 205 are also connected an input unit 206, such as a keyboard or a mouse, a display, such as CRT or LCD, an output unit 207, such as a loudspeaker, a memory 208, such as hard disc, and a communication unit 209, made up e.g., of a modem or a terminal adapter. The communication unit 209 performs communication processing over a network.

[0785] A driver 210 is connected as necessary to the input/output interface 205. There are also loaded a magnetic disc 221, an optical disc 222, a magneto-optical disc 223 or a semiconductor memory 224, and a computer program, read out therefrom, is installed as necessary on the memory 208.

[0786] The above-described sequence of operations may be executed not only on a hardware but also on a software. If the sequence of operations is to be carried out on the software, the program forming the software or a variety of programs are installed on a dedicated hardware of a computer, such that the programs are installed form a recording medium, such as a general-purpose personal computer.

[0787] Referring to FIG. 151, this recording medium may be constituted by a package medium distributed for furnishing the user with a program, in addition to a computer, such as magnetic disc 221 (inclusive of floppy disc), an optical disc 222 (inclusive of CD-ROM (Compact Disc—Read Only memory) and DVD (Digital versatile Disc)), a magneto-optical disc 223 (inclusive of MD (Mini-Disc)) or a semiconductor memory 224. In addition, the recording medium is constituted by a hard disc furnished to the user as it is pre-loaded on a computer and which includes a ROM 202 or a memory 208 having the program stored therein.

[0788] In the present specification, the respective steps stating the sequence of the program furnished by a medium includes not only the processing executed chronologically in accordance with the stated order but also the processing executed in parallel or batch-wise.

[0789] The system in the present specification denotes an entire apparatus made up of plural devices.

[0790] Industrial Applicability

[0791] According to the present invention, described above, the start address information of a domain in which the encoding information in the AV stream is continuous, the information for correlating the time information in the AV stream and the address information, and the time information of a characteristic picture in the AV stream, are recorded as the Clip information.

[0792] So, the operation of determining the readout position of the AV stream or the decoding operation can be performed promptly in any case and, in particular, preset marks can be retrieved promptly. 

1. An information processing apparatus for recording an AV stream on a recording medium adapted for recording said AV stream, the Clip information for managing the entity of the AV stream and the PlayList information managing the reproduction of the AV stream, comprising: means for generating the start address information of a domain in which the encoding information in said AV stream is continuous, the information correlating the time information in said AV stream and the address information, and the time information of a characteristic picture in said AV stream; and means for recording the information generated by said generating means as said Clip information on said recording medium.
 2. The information processing apparatus according to claim 1 wherein the start address information of the domain in which the encoding information in said AV stream is continuous is a start address of the STC sequence or the program sequence; the information correlating the time information and the address information is EP_map or TU_map; and wherein the time information of the characteristic picture is ClipMark.
 3. The information processing apparatus according to claim 1 wherein the recording means further records the information pertinent to an average value of the recording rate of said AV stream on said recording medium.
 4. The information processing apparatus according to claim 3 wherein the information pertinent to an average value is TS_average_rate.
 5. The information processing apparatus according to claim 1 wherein the AV stream is a transport stream.
 6. The information processing apparatus according to claim 1 wherein the start address information of the domain in which the encoding information in said AV stream is continuous includes a start address of an STC sequence which is a domain where system time clocks of said transport stream are continuous.
 7. The information processing apparatus according to claim 1 wherein the start address information of the domain in which the encoding information in said AV stream is continuous includes a start address of a program sequence which is a domain where program contents of said transport stream are constant.
 8. The information processing apparatus according to claim 1 wherein the start address information of the domain in which the encoding information in said AV stream is continuous includes a start address of a domain where the arrival time based on the arrival time of a transport packet of said transport stream is continuous.
 9. The information processing apparatus according to claim 1 wherein the information correlating the time information and the address information includes an address of an I-picture of said transport stream and its presentation time stamp.
 10. The information processing apparatus according to claim 9 further comprising: compression means for compressing at least part of the information correlating the time information and the address information in said AV stream; said recording means records said information compressed by said compression means.
 11. The information processing apparatus according to claim 1 wherein the information correlating the time information and the address information in said AV stream includes an arrival time based on the arrival time of a transport packet and an address in said AV stream data of a transport packet associated therewith.
 12. An information processing method for recording an AV stream on a recording medium, adapted for recording said AV stream, the Clip information for managing the entity of the AV stream and the PlayList information managing the reproduction of the AV stream, comprising: a step of generating the start address information of a domain in which the encoding information in said AV stream is continuous, the information correlating the time information in said AV stream and the address information, and the time information of a characteristic picture in said AV stream; and a step of recording the information generated by said generating step as said Clip information on said recording medium.
 13. A recording medium having recorded thereon a computer-readable program for an information processing apparatus, adapted for recording an AV stream on a recording medium, carrying said AV stream, the Clip information for managing the entity of the AV stream and the PlayList information managing the reproduction of the AV stream, said program including a step of generating the start address information of a domain in which the encoding information in said AV stream is continuous, the information correlating the time information in said AV stream and the address information, and the time information of a characteristic picture in said AV stream; and a step of recording the information generated by said generating step as said Clip information on said recording medium.
 14. A program for causing a computer controlling an information processing apparatus, adapted for recording an AV stream on a recording medium, the Clip information for managing the entity of the AV stream and the PlayList information managing the reproduction of the AV stream, to execute a step of generating the start address information of a domain in which the encoding information in said AV stream is continuous, the information correlating the time information in said AV stream and the address information, and the time information of a characteristic picture in said AV stream; and a step of recording the information generated by said generating step as said Clip information on said recording medium.
 15. An information processing apparatus for reproducing an AV stream from a recording medium having recorded thereon said AV stream, the Clip information for managing the entity of the AV stream and the PlayList information managing the reproduction of the AV stream, comprising: means for reproducing the start address information of a domain in which the encoding information in said AV stream is continuous, the information correlating the time information in said AV stream and the address information, and the time information of a characteristic picture in said AV stream, as said Clip information; and means for controlling the outputting of said AV stream based on said Clip information reproduced by said reproducing means.
 16. An information processing method for reproducing an AV stream from a recording medium, having recorded thereon said AV stream, the Clip information for managing the entity of the AV stream and the PlayList information managing the reproduction of the AV stream, comprising: a step of reproducing the start address information of a domain in which the encoding information in said AV stream is continuous, the information correlating the time information in said AV stream and the address information, and the time information of a characteristic picture in said AV stream; and a step of controlling the outputting of said AV stream based on said Clip information reproduced by said reproducing means.
 17. A recording medium having recorded thereon a computer-readable program for an information processing apparatus adapted for reproducing an AV stream from the recording medium, on which said AV stream, the Clip information for managing the entity of the AV stream and the PlayList information managing the reproduction of the AV stream are recorded; said program including a step of reproducing the start address information of a domain in which the encoding information in said AV stream is continuous, the information correlating the time information in said AV stream and the address information, and the time information of a characteristic picture in said AV stream; and a step of controlling the outputting of said AV stream based on said Clip information reproduced by said reproducing means.
 18. A program for causing a computer controlling an information processing apparatus for reproducing an AV stream from a recording medium to execute a step of reproducing the start address information of a domain in which the encoding information in said AV stream is continuous, the information correlating the time information in said AV stream and the address information, and the time information of a characteristic picture in said AV stream; and a step of controlling the outputting of said AV stream based on Clip information reproduced by said reproducing means; said recording medium having recorded thereon said AV stream, said Clip information for managing the entity of the AV stream and PlayList information managing the reproduction of the AV stream.
 19. A recording medium having recorded thereon a program for an information processing apparatus for reproducing an AV stream from a recording medium on which said AV stream, the Clip information for managing the entity of the AV stream and the PlayList information managing the reproduction of the AV stream are recorded; wherein the start address information of a domain in which the encoding information in said AV stream is continuous, the information correlating the time information in said AV stream and the address information, and the time information of a characteristic picture in said AV stream are recorded on the recording medium as said Clip information. 